Skip to content
MCP server

PublicAPIs.io

Search 1,500+ public APIs with docs, code samples and auth or free-tier filters

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
1 day ago

About PublicAPIs.io

PublicAPIs.io is a free MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

PublicAPIs.io is an API directory that is meant to be read by agents as much as by people. Its MCP server at publicapis.io/mcp needs no key and exposes eight tools: search_apis with filters for no-auth, free tier and HTTPS, get_api, get_quickstart, compare_apis, list_offerings, start_deal, send_message and get_deal. The last four let an agent negotiate a listing or sponsorship with the site's own listings agent, with a person approving every deal.

The same data is reachable through other routes: WebMCP tools on the site's pages, an A2A agent card at /.well-known/agent-card.json, and llms.txt and llms-full.txt for models that want the whole directory in one read. The agents page shows live counts of crawler and agent activity, separating verified crawlers from MCP scanners and uptime checkers.

For API vendors, a Pro listing puts the API, a docs summary and verified code samples into those channels. Sponsored placements appear in agent results for matching categories, are clearly labelled, and come with a monthly count of how often agents saw them.

Install

Run in a terminal

claude mcp add --transport http directory https://publicapis.io/mcp

Add to Settings → Connectors → Add custom connector

https://publicapis.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "directory": {
      "url": "https://publicapis.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "directory": {
      "type": "http",
      "url": "https://publicapis.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "directory": {
      "serverUrl": "https://publicapis.io/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "directory": {
      "type": "http",
      "url": "https://publicapis.io/mcp"
    }
  }
}

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

search_apis
Searches APIs with no-auth, free-tier and HTTPS filters.
get_api
Gets details and docs for one API.
get_quickstart
Returns a quickstart for an API.
compare_apis
Compares APIs.
list_offerings
Lists listing and sponsorship offerings.
start_deal
Starts a listing or sponsorship negotiation.
send_message
Sends a message in a deal.
get_deal
Reads the state of a deal.

What it does

API search
Filters public APIs by no-auth, free tier and HTTPS.
Docs and quickstart
Returns documentation details and code to get started with an API.
API comparison
Compares several APIs side by side.
Agent-negotiated listings
Agents can discuss listing or sponsoring an API, with human approval.
Multiple agent channels
Also offers WebMCP, an A2A agent card and llms.txt.
Live agent activity
Shows counted agent and crawler visits.

Good for

  • Find a free, no-auth API for a prototype
  • Compare two APIs for the same job before choosing
  • Get a working quickstart for a chosen API
  • List or sponsor an API through an agent-to-agent deal

Pricing

Free

Free to search; paid Pro listings and sponsorships for API companies, prices not published

Prices change. Check publicapis.io before you buy.

PublicAPIs.io FAQ

Do I need an API key?

No. The page says no key is needed.

How many APIs are listed?

More than 1,500.

What tools are exposed?

search_apis, get_api, get_quickstart, compare_apis, list_offerings, start_deal, send_message and get_deal.

Are deals automatic?

No. A person approves every deal.

Is PublicAPIs.io free?

Yes. PublicAPIs.io is free to use.

How do I add PublicAPIs.io to Claude Code?

Run this command in your terminal: claude mcp add --transport http directory https://publicapis.io/mcp

What are the best alternatives to PublicAPIs.io?

The closest alternatives to PublicAPIs.io are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to PublicAPIs.io

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools