public-apis-mcp is a free public API directory service wrapped with the MCP (Model Context Protocol) protocol, whose core goal is to provide AI clients with a semantically searchable library of free API resources. Its data comes from the public-apis GitHub repository and includes a large number of free public API entries.
Its main capabilities include two tools: search_public_apis performs semantic search on API names and descriptions based on embedding vectors, with parameters query (string) and limit (integer, default 5), returning a list containing id, name, score, and snippet; get_public_api_details retrieves the full details of an API by id, returning an ApiItem. It also provides MCP resources: public-apis://apis and public-apis://api/{id}.
Usage: the service can be added to an MCP client (such as Claude Desktop) via uv; on macOS the configuration file is located at ~/Library/Application Support/Claude/claude_desktop_config.json. The embedding index is an optional build and is automatically built on the first search; the service runs over STDIO. The data file is located at src/public_apis_mcp/datastore/free_apis.json, and the embedding index is located at src/public_apis_mcp/datastore/index.npz (automatically built). During development, the MCP Inspector npm tool can be used for exploration and debugging. The project uses the MIT license, and Pull Requests are welcome.
Applicable scenarios: development and integration scenarios that require quickly finding free APIs in an AI assistant or MCP client, semantically searching API capabilities, and obtaining API details. Limitations: the material does not provide the specific number of API entries, search effectiveness metrics, performance data, or installation details other than uv, and none are currently provided.