mcp-public-apis
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-public-apis Find free weather APIs with no auth"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-public-apis
Give your AI coding agent the ability to find, test, and integrate any of 1,500+ free public APIs — instantly.
Data sourced from the community-maintained public-apis list · synced daily
What is this?
An MCP (Model Context Protocol) server that gives AI coding agents real-time access to the public-apis dataset. Instead of copy-pasting API documentation, your agent can search, probe, and generate working code — all in one conversation.
You: "Find me a free weather API with no auth that supports HTTPS"
Agent: [calls search_apis] → returns top matches with auth/HTTPS/CORS details
You: "Test the first one — show me what the response looks like"
Agent: [calls probe_api] → live GET request, returns status + response shape
You: "Generate an axios snippet for it"
Agent: [calls generate_snippet] → ready-to-paste curl, fetch, and axios codeRelated MCP server: mcpify
Installation
Pick the config for your client and paste it in. No build step required — npx handles everything.
File: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
File: %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"public-apis": {
"command": "npx",
"args": ["mcp-public-apis"]
}
}
}File: .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally)
{
"mcpServers": {
"public-apis": {
"command": "npx",
"args": ["mcp-public-apis"]
}
}
}File: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"public-apis": {
"command": "npx",
"args": ["mcp-public-apis"]
}
}
}Open VS Code → Cline sidebar → MCP Servers tab → Add Server → paste:
{
"public-apis": {
"command": "npx",
"args": ["mcp-public-apis"]
}
}git clone https://github.com/josephsenior/pblic-apis-mcp-server
cd pblic-apis-mcp-server
npm install
npm run build
node dist/index.jsTools
Tool | What it does | Key parameters |
| Fuzzy-search 1,500+ APIs by keyword, category, auth type, and HTTPS |
|
| List every category with its API count | — |
| Full record for one API by name |
|
| Live HTTP GET to any endpoint — returns status, latency, and response preview |
|
| Side-by-side view of all APIs in a category |
|
| Only APIs that need zero authentication |
|
| Paste-ready |
|
search_apis parameters
Parameter | Type | Default | Description |
| string | — | Fuzzy-match against API name and description |
| string | — | Exact category name (use |
|
| — | Filter by auth requirement |
| boolean |
| Exclude non-HTTPS APIs |
| number |
| Max results (1–20) |
How it works
MCP Client (Claude / Cursor / etc.)
│ JSON-RPC over stdio
▼
mcp-public-apis server
│
├─ In-memory cache (24 h TTL)
│
└─ GitHub raw · public-apis/public-apis README.mdOn first use the server fetches the public-apis README from GitHub, parses every Markdown table row into structured
PublicAPIobjects, and stores them in a 24-hour in-memory cache.All search and filter operations run locally against that cache — no external call per query.
probe_apiis the only tool that makes a request to a third-party endpoint (the one you explicitly pass in).
Data source
All API records come from public-apis/public-apis — a community-maintained list of 1,500+ free APIs across 60+ categories. The data is fetched fresh every 24 hours.
License
Available Tools
7 toolscompare_apisA
Compare all APIs within a category side by side, with a summary of auth and HTTPS support.
Inputs: category (required), limit.
find_no_auth_apisB
Returns APIs that require zero authentication, optionally filtered by category.
Inputs: category, httpsOnly, limit.
generate_snippetB
Generates ready-to-use curl, fetch, and axios code snippets for calling a given API endpoint.
Inputs: url (required), apiKey, apiKeyParam, headers.
get_api_detailA
Get full details about a specific API by name.
Inputs: name (required).
get_categoriesA
Returns all available API categories with the number of APIs in each.
Inputs: no named parameters.
probe_apiB
Makes a safe live HTTP GET request to a given API endpoint and returns the response status, shape, and latency.
Inputs: url (required), apiKey, apiKeyParam, timeoutMs.
search_apisA
Search the public-apis list by keyword, category, auth type, and HTTPS support.
Inputs: query, category, auth, httpsOnly, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clear, distinct purpose: comparing APIs, finding auth-free ones, generating code snippets, getting details, listing categories, probing endpoints, and searching. No overlap.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., compare_apis, find_no_auth_apis, generate_snippet), making them predictable and easy to understand.
With 7 tools, the set is well-scoped for browsing and testing public APIs. Each tool adds distinct value without redundancy or over-engineering.
The tool set covers the full workflow: discovery (search, categories, detail), analysis (compare, no-auth filter), testing (probe), and code generation (snippet). No obvious gaps for a read-only API directory.
Maintenance
Related MCP Connectors
Hosted MCP server for live public-data APIs and Skills for AI agents.
An MCP server that gives your AI access to the source code and docs of all public github repos
Web search API and MCP server for developers building AI agents.
Discover and call 10,000+ production APIs from one MCP server. Pay-per-call billing for AI agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn 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.3-
- AlicenseNot gradedqualityDmaintenanceTurns any OpenAPI specification into a fully working MCP server with a single command, enabling AI agents to call APIs without writing any glue code.6 npmMIT
- MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools to fetch live, version-accurate documentation, changelogs, examples, and method signatures for npm and PyPI packages, preventing AI coding agents from hallucinating stale APIs.7 npmISC