Skip to main content
Glama
josephsenior

mcp-public-apis

by josephsenior

mcp-public-apis

Give your AI coding agent the ability to find, test, and integrate any of 1,500+ free public APIs — instantly.

License: MIT MCP Compatible Works with Claude Works with Cursor Works with Windsurf Works with Cline

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 code

Related 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.js

Tools

Tool

What it does

Key parameters

search_apis

Fuzzy-search 1,500+ APIs by keyword, category, auth type, and HTTPS

query, category, auth, httpsOnly, limit

get_categories

List every category with its API count

get_api_detail

Full record for one API by name

name

probe_api

Live HTTP GET to any endpoint — returns status, latency, and response preview

url, apiKey, timeoutMs

compare_apis

Side-by-side view of all APIs in a category

category, limit

find_no_auth_apis

Only APIs that need zero authentication

category, httpsOnly, limit

generate_snippet

Paste-ready curl, fetch, and axios snippets

url, apiKey, headers

search_apis parameters

Parameter

Type

Default

Description

query

string

Fuzzy-match against API name and description

category

string

Exact category name (use get_categories to browse)

auth

"No" | "apiKey" | "OAuth"

Filter by auth requirement

httpsOnly

boolean

true

Exclude non-HTTPS APIs

limit

number

5

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.md
  1. On first use the server fetches the public-apis README from GitHub, parses every Markdown table row into structured PublicAPI objects, and stores them in a 24-hour in-memory cache.

  2. All search and filter operations run locally against that cache — no external call per query.

  3. probe_api is 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

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    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.
    Last updated
    3
  • A
    license
    -
    quality
    B
    maintenance
    Turns any OpenAPI specification into a fully working MCP server with a single command, enabling AI agents to call APIs without writing any glue code.
    Last updated
    27
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    An 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.
    Last updated
    32
    ISC

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/josephsenior/public-apis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server