Skip to main content
Glama

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

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context
    Last updated -
    15
    239
    MIT License
  • -
    security
    A
    license
    -
    quality
    An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context. Uses Ollama or OpenAI to generate embeddings. Docker files included
    Last updated -
    39
    24
    MIT License
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    An MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.
    Last updated -
    29
  • -
    security
    A
    license
    -
    quality
    An MCP server that enables AI assistants to access up-to-date documentation for Python libraries like LangChain, LlamaIndex, and OpenAI through dynamic fetching from official sources.
    Last updated -
    1
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ShotaNagafuchi/api-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server