MCP Public APIs MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install -e .
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add public-apis -- node "<FULL_PATH_TO_MCP_PUBLIC_APIS>/dist/index.js"

Replace <FULL_PATH_TO_MCP_PUBLIC_APIS>/dist/index.js with the actual folder you prepared in step 1.

README.md

Search and filter over 1,400 public APIs by category, auth, and requirements.

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

Tools (3)

list_categoriesReturns all available API categories.
query_apisFilters the index by keyword, category, auth, HTTPS, and CORS.
update_indexRe-downloads the README and rebuilds the index.

Configuration

claude_desktop_config.json
{"mcpServers": {"public-apis": {"command": "mcp-public-apis"}}}

Try it

Find me a free Books API that supports HTTPS and CORS.
List all available API categories in the public-apis index.
Search for APIs related to 'weather' that require no authentication.
Find an OAuth-enabled Finance API.

Frequently Asked Questions

What are the key features of MCP Public APIs?

Indexes over 1,400 public APIs from the public-apis catalogue. Supports filtering by category, authentication type, and keyword. Allows querying by technical requirements like HTTPS support and CORS compatibility. Provides a tool to refresh the index from the source README.

What can I use MCP Public APIs for?

Quickly finding suitable public APIs for a new software project without manual searching. Verifying if a specific API meets security requirements like HTTPS or CORS before integration. Helping developers discover new APIs within specific categories like Finance or Animals. Enabling LLMs to provide accurate API recommendations based on real technical constraints.

How do I install MCP Public APIs?

Install MCP Public APIs by running: pip install -e .

What MCP clients work with MCP Public APIs?

MCP Public APIs works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MCP Public APIs docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare