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 MCP Server
Project Details
- ShotaNagafuchi/api-docs-mcp
- Last Updated: 4/13/2025
Recomended MCP Servers
强大的MCP翻译服务器!#AiryLarkMCP 专为专业翻译人员设计: • 三阶段翻译流程:分析规划、精准翻译、全文审校 • 自动识别专业领域术语 • 提供全面翻译质量评估 • 支持多语种互译 • 保持原文风格与专业性
无缝集成Claude/Cursor等支持MCP的AI助手,让AI翻译达到专业水准!
Linkup is a third-party extension that gives Claude access to real-time web search and premium content sources. It...
small MCP server for orchestrating tasks across LLM instances
MCP server that enhances Claude's reasoning capabilities by integrating DeepSeek R1's advanced reasoning engine
ModelContextProtocal server for interacting with buttondown
A Model Context Protocol (MCP) tool server for OpenAI's GPT-4o/gpt-image-1 image generation and editing APIs.
Fetch and read Jewish texts through the API of Sefaria.org
A Model Context Protocol (MCP) server that integrates with Google's Gemini Pro model, can be used in Claude...