MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

M
MCP Public Apis
作者 @Attilio81

MCP server by Attilio81

创建于 3/19/2026
更新于 about 5 hours ago
Repository documentation and setup instructions

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

| Tool | Description | |---|---| | list_categories | Returns all available API categories (Animals, Finance, …) | | query_apis | Filters the index by keyword, category, auth, HTTPS, CORS | | update_index | Re-downloads the README and rebuilds the index |

query_apis parameters

| Parameter | Type | Description | |---|---|---| | keyword | str | Substring match on name or description | | category | str | Exact category (case-insensitive) | | auth | str | "apiKey", "OAuth", "" (none), etc. | | no_auth | bool | Shortcut: APIs that need no authentication | | https | bool | True = HTTPS only, False = HTTP only | | cors | str | "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

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx mcp_public_apis

Cursor 配置 (mcp.json)

{ "mcpServers": { "attilio81-mcp-public-apis": { "command": "uvx", "args": [ "mcp_public_apis" ] } } }
作者服务器
其他服务器由 Attilio81