# PublicAPIs.io

> PublicAPIs.io is a free MCP server for developer tools. Search 1,500+ public APIs with docs, code samples and auth or free-tier filters. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://publicapis.io/agents
- **MCP Registry name:** io.publicapis/directory
- **Categories:** developer tools, community directories
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://publicapis.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "directory": {
      "url": "https://publicapis.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/publicapis-io
