MCP Hub
Back to servers

Infographic MCP Server

A Python-based MCP server that enables AI assistants to search for infographics and data visualizations using the Serper API. It provides specialized tools for finding statistical graphics with optimized filters for size, aspect ratio, and specific curated sources.

glama
Stars
2
Updated
Mar 11, 2026
Validated
Mar 13, 2026

Infographic MCP Server

A Python MCP server that lets AI assistants search for infographic images using the Serper API. Find data visualizations, statistical graphics, and visual explainers — with smart filters optimized for infographic content.

Features

  • search_infographics — Find web pages, articles, and galleries featuring infographics
  • search_infographic_images — Search for infographic images with size and aspect ratio filters
  • search_infographics_by_source — Target specific platforms like Visual Capitalist, Behance, or Dribbble
  • Automatic "infographic" context injection on all queries
  • Large image + tall aspect ratio filters by default (how most infographics are shaped)
  • SSE transport for real-time MCP client communication

Quick Start

1. Install dependencies

pip install mcp httpx

2. Set your API key

Get a free key at serper.dev, then set it as an environment variable:

export SERPER_API_KEY="your-api-key-here"

3. Run the server

python server.py

The server starts on http://0.0.0.0:8000 with the SSE endpoint at /sse.

4. Connect your MCP client

Point your MCP client (e.g. Claude Desktop) to:

http://<your-server-address>:8000/sse

Tools

search_infographics

Search for infographic-related web pages and articles.

ParameterTypeDefaultDescription
querystringrequiredTopic to find infographics about
num_resultsinteger10Number of results (1–20)

Example queries: "climate change", "social media marketing stats", "coffee production worldwide"

search_infographic_images

Search for infographic images with optimized size and aspect ratio filters.

ParameterTypeDefaultDescription
querystringrequiredTopic to find infographic images for
num_resultsinteger10Number of results (1–20)
aspect_ratiostring"tall"Image shape: "tall", "wide", "square", or "panoramic"

Example queries: "nutrition facts", "startup funding process", "global warming statistics"

search_infographics_by_source

Search for infographics from a specific curated platform.

ParameterTypeDefaultDescription
querystringrequiredTopic to search for
sourcestringrequiredPlatform name (see list below)
num_resultsinteger10Number of results (1–20)

Supported sources: visual capitalist, behance, dribbble, information is beautiful, cool infographics, venngage, canva, statista, pinterest, visme

Example: search for "economy" on "visual capitalist"

Project Structure

server.py        # MCP server — tool definitions and Serper API integration
config.py        # Configuration — API keys, filters, curated sources
pyproject.toml   # Project metadata and dependencies

Configuration

All settings live in config.py:

VariableDefaultDescription
SERPER_API_KEYfrom envYour Serper API key
SERPER_SEARCH_URLhttps://google.serper.dev/searchWeb search endpoint
SERPER_IMAGES_URLhttps://google.serper.dev/imagesImage search endpoint
DEFAULT_NUM_RESULTS10Results per query
DEFAULT_IMAGE_SIZE"l" (large)Image size filter
DEFAULT_ASPECT_RATIO"t" (tall)Default aspect ratio for infographics
INFOGRAPHIC_SOURCESdictCurated source name → domain mapping

Troubleshooting

ProblemSolution
SERPER_API_KEY is not setSet the environment variable or add it to .env
API Error: status 401Invalid API key — verify it at serper.dev
API Error: status 429Rate limit hit — wait and retry
Network ErrorCheck your internet connection

Resources

Reviews

No reviews yet

Sign in to write a review