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.
README
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 infographicssearch_infographic_images— Search for infographic images with size and aspect ratio filterssearch_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.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Topic to find infographics about |
num_results |
integer | 10 | Number 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Topic to find infographic images for |
num_results |
integer | 10 | Number of results (1–20) |
aspect_ratio |
string | "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.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Topic to search for |
source |
string | required | Platform name (see list below) |
num_results |
integer | 10 | Number 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:
| Variable | Default | Description |
|---|---|---|
SERPER_API_KEY |
from env | Your Serper API key |
SERPER_SEARCH_URL |
https://google.serper.dev/search |
Web search endpoint |
SERPER_IMAGES_URL |
https://google.serper.dev/images |
Image search endpoint |
DEFAULT_NUM_RESULTS |
10 |
Results per query |
DEFAULT_IMAGE_SIZE |
"l" (large) |
Image size filter |
DEFAULT_ASPECT_RATIO |
"t" (tall) |
Default aspect ratio for infographics |
INFOGRAPHIC_SOURCES |
dict | Curated source name → domain mapping |
Troubleshooting
| Problem | Solution |
|---|---|
SERPER_API_KEY is not set |
Set the environment variable or add it to .env |
API Error: status 401 |
Invalid API key — verify it at serper.dev |
API Error: status 429 |
Rate limit hit — wait and retry |
Network Error |
Check your internet connection |
Resources
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.