API Docs MCP Server
An MCP server for crawling API documentation websites and exposing their content through the Model Context Protocol. This allows AI models to search, browse, and reference API specifications.
Features
- Crawls API documentation websites to extract structured information
- Exposes API docs as resources through MCP
- Provides search tools for finding specific API endpoints
- Includes prompt templates for common API documentation tasks
- Stores crawled data for offline access
Installation
# Create and activate a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venvScriptsactivate
# Install the package
pip install -e .
Usage
Starting the server
python -m src.main --url https://example-api-docs.com
Connecting to the server
This MCP server can be connected to any MCP client, such as Claude for Desktop. Configure your client to use this server with:
{
"api-docs": {
"command": "python",
"args": ["-m", "src.main", "--url", "https://example-api-docs.com"]
}
}
MCP Capabilities
Resources
- API endpoint specifications
- Data models and schemas
- API examples and code snippets
Tools
search_api
: Search for API endpoints by name, path, or descriptionget_endpoint_details
: Get detailed information about a specific endpointlist_endpoints
: List all available API endpointsfind_examples
: Find examples for a specific API endpoint
Prompts
explain_endpoint
: Generate a natural language explanation of an API endpointcompare_endpoints
: Compare two API endpointsgenerate_code
: Generate sample code for using an API endpoint
License
MIT
API Docs Server
Project Details
- ShotaNagafuchi/api-docs-mcp
- Last Updated: 4/13/2025
Recomended MCP Servers
This a simple implementation of an MCP server using iFlytek. It enables calling iFlytek workflows through MCP tools.
2-4 entity
MCP server for Kibana, Access search and manage Kibana in MCP Client.
This read-only MCP Server allows you to connect to Salesforce Marketing data from Claude Desktop through CData JDBC...
MCP server providing semantic memory and persistent storage capabilities for Claude using ChromaDB and sentence transformers.
An MCP Reddit server for post management in Reddit
MCP server to provide Jira Tickets information to AI coding agents like Cursor
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed...
A resilient MCP server built with fastMCP for sending emails through Gmail's SMTP server using AI agents.
interactive programming of melodies, producing MIDI
A collection tools to analyze stock tickers for the Model Context Protocol.