API Docs MCP Server

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: venv\Scripts\activate # 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 description
  • get_endpoint_details: Get detailed information about a specific endpoint
  • list_endpoints: List all available API endpoints
  • find_examples: Find examples for a specific API endpoint

Prompts

  • explain_endpoint: Generate a natural language explanation of an API endpoint
  • compare_endpoints: Compare two API endpoints
  • generate_code: Generate sample code for using an API endpoint

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server that crawls API documentation websites and exposes their content to AI models, enabling them to search, browse, and reference API specifications.

  1. Features
    1. Installation
      1. Usage
        1. Starting the server
        2. Connecting to the server
      2. MCP Capabilities
        1. Resources
        2. Tools
        3. Prompts
      3. License

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          An MCP (Model Context Protocol) server that provides Google search capabilities and webpage content analysis tools. This server enables AI models to perform Google searches and analyze webpage content programmatically.
          Last updated -
          3
          46
          41
          TypeScript
        • A
          security
          F
          license
          A
          quality
          An MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.
          Last updated -
          4
          2
          Python
        • -
          security
          -
          license
          -
          quality
          An MCP server that integrates Apifox API documentation with AI assistants, allowing AI to extract and understand API information from Apifox projects.
          Last updated -
          91
          TypeScript
        • -
          security
          F
          license
          -
          quality
          A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
          Last updated -
          5
          TypeScript

        View all related MCP servers

        ID: kz7hgyzx1r