MCP Hub
Back to servers

MCP Public APIs

An MCP server that indexes the public-apis catalogue, allowing LLMs to search and filter over 1,400 public APIs by category, authentication type, and technical requirements. It facilitates precise API discovery for developers by providing tools to query specific features like HTTPS support and CORS compatibility.

glama
Stars
2
Updated
Mar 19, 2026
Validated
Mar 21, 2026

MCP Public APIs

An MCP server that indexes the public-apis catalogue and lets an LLM query it by category, auth type, HTTPS support, CORS, and keyword — without browsing the README manually.

Why

Without this MCP, an LLM recommending a public API has to guess or ask the user to check manually. With it, the LLM can say:

"I need a Books API, HTTPS, no auth, CORS-enabled for your React app." → query_apis(category="Books", no_auth=True, https=True, cors="yes")

Tools

ToolDescription
list_categoriesReturns all available API categories (Animals, Finance, …)
query_apisFilters the index by keyword, category, auth, HTTPS, CORS
update_indexRe-downloads the README and rebuilds the index

query_apis parameters

ParameterTypeDescription
keywordstrSubstring match on name or description
categorystrExact category (case-insensitive)
authstr"apiKey", "OAuth", "" (none), etc.
no_authboolShortcut: APIs that need no authentication
httpsboolTrue = HTTPS only, False = HTTP only
corsstr"yes", "no", "unknown"

Installation

cd MCP_PUBLIC_APIS
pip install -e .

Running

mcp-public-apis

Or add it to your MCP client config:

{
  "mcpServers": {
    "public-apis": {
      "command": "mcp-public-apis"
    }
  }
}

Development

pip install -e ".[dev]"
pytest

Data Source

The index is built from the raw README.md of public-apis/public-apis on GitHub, which lists ~1400 public APIs organised into ~80 categories. The schema mirrors the README table exactly:

name · url · description · auth · https · cors · category

Reviews

No reviews yet

Sign in to write a review