Public API Docs MCP
Provides read-only tools to search and inspect public API documentation published with Hoppscotch, including document metadata, endpoint lists, request details, and saved response examples.
Provides read-only tools to search and inspect public API documentation published with Postman, including document metadata, endpoint lists, request details, and saved response examples.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Public API Docs MCP
A read-only MCP server for API documentation published with Hoppscotch or Postman. Search requests, inspect endpoint details, and read saved response examples. It uses each provider's public documentation endpoint; no account or token is required.
Installation
For Agents
Copy one of these prompts and paste it into your MCP-capable AI agent.
Using uv
Install the Public API Docs MCP server for this AI client from https://github.com/KidiXDev/public-api-docs-mcp.
Follow the repository README and install it using uv. Install uv first if needed.
Configure this client to run:
public-api-docs-mcp
Do not set a default document URL. I will give you a published URL for each project; pass it as doc_url on every tool call.
Verify that the server exposes get_document, search_documentation, list_endpoints, and get_endpoint.
Tell me what you configured and whether I need to restart the client.Using Docker
Install the Public API Docs MCP server for this AI client from https://github.com/KidiXDev/public-api-docs-mcp.
Use the prebuilt Docker image:
ghcr.io/kidixdev/public-api-docs-mcp:latest
Configure this client to run the MCP server over stdio using:
docker run --rm -i ghcr.io/kidixdev/public-api-docs-mcp:latest
Do not set a default document URL. I will give you a published URL for each project; pass it as doc_url on every tool call.
Verify that the server exposes get_document, search_documentation, list_endpoints, and get_endpoint.
Tell me what you configured and whether I need to restart the client.For Humans
Using uv
Requires Python 3.10+ and uv.
Install directly from GitHub:
uv tool install git+https://github.com/KidiXDev/public-api-docs-mcp.gitOr install from a checkout:
uv tool install .Then configure your MCP client.
To check a published document:
public-api-docs-mcp --check https://api-docs.hoppscotch.io/view/YOUR_DOC_IDIf the command is not found after installation, run uv tool update-shell, reopen your terminal, or use the executable's absolute path in your MCP client.
Using Docker
Pull the prebuilt image:
docker pull ghcr.io/kidixdev/public-api-docs-mcp:latestCheck a published document:
docker run --rm \
ghcr.io/kidixdev/public-api-docs-mcp:latest \
--check https://api-docs.hoppscotch.io/view/YOUR_DOC_IDFor an MCP client's stdio configuration, use:
docker run --rm -i ghcr.io/kidixdev/public-api-docs-mcp:latestKeep -i and do not detach the container.
Related MCP server: OpenAPI Search MCP Server
Choose a document per call
Start the server without a document URL. Pass the project's published link as doc_url on each tool call:
Provider | Link |
Hoppscotch |
|
Postman |
|
For example:
search_documentation(
query="tenant",
doc_url="https://api-docs.hoppscotch.io/view/YOUR_DOC_ID"
)Include the relevant URL in your request to the agent so it can pass the right URL for each project.
Without a document URL, a tool call returns an error. Postman custom domains, private workspaces, and postman.com workspace links are not supported.
For compatible self-hosted Hoppscotch deployments, these optional settings change where the server reads published docs:
Variable | Purpose | Default |
| Allowed public viewer origin |
|
| Backend base URL for compatible self-hosted deployments |
|
For a self-hosted deployment using the same /v1/published-docs route, set both values to that deployment's viewer origin and backend /v1 URL.
Per-call Hoppscotch doc_url values must match the configured viewer origin. Postman links are unaffected.
MCP tools
Tool | What it returns |
| Ranked, short endpoint summaries for an API concept; up to 50 per page |
| One endpoint's request details, its saved responses, and one example response |
| Title, versions, description, folder paths with endpoint counts, variable names, and endpoint count |
| Endpoints in document order, filtered by folder, method, or exact text; up to 100 per page |
The server sends this workflow to the agent as MCP instructions:
Search one concept at a time (
product, thentenant) withsearch_documentation. Search uses keyword ranking, not semantic understanding. To cover a whole API, useget_document, thenlist_endpointsby folder.Call
get_endpointfor the routes the task needs. It includes the first 2xx example response.Call it again with a
response_namefor other cases, such as errors.
Search and list results include total and next_offset for paging. get_endpoint shortens strings over 300 characters and arrays over three items in bodies, keeps the JSON structure, and reports body_truncated and response.truncated. Pass full_bodies=true for the uncut content. Fetched documents are cached for up to a minute.
The server omits saved auth and variable values and redacts credential-like header and parameter values. Descriptions and request and response bodies are otherwise returned as published, so review the source document before sharing its contents.
Manual MCP client setup
These configurations start a stdio server without selecting a project.
Give your agent the published URL for the project you are working on; it passes that URL as doc_url when calling tools.
The server normally prints nothing in a terminal because it exchanges protocol messages over stdin/stdout.
The examples below use the uv installation.
If you use Docker, replace the executable with:
{
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"ghcr.io/kidixdev/public-api-docs-mcp:latest"
]
}Codex
Add this to ~/.codex/config.toml or a project .codex/config.toml:
[mcp_servers.api_docs]
command = "public-api-docs-mcp"Run:
codex mcp listSee the Codex MCP guide.
Claude Code
claude mcp add --scope user --transport stdio api-docs -- public-api-docs-mcp
claude mcp get api-docsSee the Claude Code MCP guide.
For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows, then fully restart the app:
{
"mcpServers": {
"api-docs": {
"command": "public-api-docs-mcp"
}
}
}Use the command's absolute path if Claude Desktop cannot find it.
See the MCP Python SDK host guide.
Google Antigravity
In the IDE, open:
MCP Servers → Manage MCP Servers → View raw configIn Antigravity CLI, edit ~/.gemini/config/mcp_config.json or .agents/mcp_config.json in a workspace:
{
"mcpServers": {
"api-docs": {
"command": "public-api-docs-mcp"
}
}
}See the Antigravity MCP guide.
GitHub Copilot
For Copilot in VS Code, create .vscode/mcp.json in your project or use MCP: Open User Configuration:
{
"servers": {
"api-docs": {
"type": "stdio",
"command": "public-api-docs-mcp"
}
}
}Use Copilot Chat Agent mode and enable the server in its tools picker.
For Copilot CLI:
copilot mcp add api-docs -- public-api-docs-mcp
copilot mcp get api-docsThe CLI also accepts a portable ~/.copilot/mcp-config.json with a top-level mcpServers object. VS Code's .vscode/mcp.json uses servers.
See VS Code's MCP configuration reference and the Copilot CLI MCP guide.
HTTP transport
To run an HTTP server locally with Docker:
docker run --rm \
-p 127.0.0.1:8000:8000 \
ghcr.io/kidixdev/public-api-docs-mcp:latest \
--http \
--host 0.0.0.0Connect a Streamable HTTP MCP client to:
http://127.0.0.1:8000/mcpPass doc_url to each tool call.
For a local Python process:
public-api-docs-mcp --httpDevelop
uv run python -m unittest -v
uv run public-api-docs-mcp --check https://api-docs.hoppscotch.io/view/YOUR_DOC_IDBuild the Docker image locally:
docker build -t public-api-docs-mcp .License
This project is licensed under MIT.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only HotAPI documentation: search integration guides and inspect OpenAPI operations.
Search and read the QR Suisse API documentation: guides, pricing and each OpenAPI operation.
Search and read the Flowie Exchange API docs and OpenAPI contract. No sign-in needed.
Read-only search over the Vocenya AI receptionist API docs and endpoints, with code samples.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to search for documentation of packages and services, providing implementation details, examples, and specifications through a specialized API.12MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to load, parse, and query OpenAPI/Swagger documentation from URLs with intelligent search across endpoints, schemas, and authentication methods. Provides 10 specialized tools for comprehensive API exploration including path details, operation lookups, and multi-criteria search capabilities.4-
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to search and explore API documentation from Apidog projects or OpenAPI/Swagger specifications, providing endpoint details, schemas, and project statistics through natural language queries.1ISC
- AlicenseAqualityDmaintenanceExposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.1427 npm2MIT