mcp_server
This project provides a method to reference API documentation using an MCP server, implemented with the 'reference' feature.
The project is designed to facilitate the use of an MCP server to access API documentation. It includes scripts for crawling web pages and serving the crawled data through an MCP server. The main components are scripts that handle different types of documentation, such as Gemini, Anthropic, and OpenAPI. Users are required to set up their environment, install necessary dependencies, and configure the server settings to run the documentation servers. The project supports crawling of web pages to gather documentation data, which is then served via the MCP server.
Features
- Supports crawling and serving of Gemini and Anthropic documentation.
- Provides a method to serve OpenAPI documentation using YAML files.
- Includes scripts for setting up and running MCP servers for different documentation types.
- Allows customization of crawling settings through command-line options.
- Facilitates integration with Claude through configuration updates.
Usage with Different Platforms
uv_installation
bash
curl -LsSf https://astral.sh/uv/install.sh | sh
virtual_environment_activation
bash
uv venv
source .venv/bin/activate
dependency_installation
bash
uv add "mcp[cli]" PyYAML
running_gemini_docs
bash
uv run gemini_docs.py
crawling_with_preset
bash
python crawl_all.py --preset gemini
python crawl_all.py --preset anthropic
custom_crawling
bash
python crawl_all.py \
--base-url "https://example.com" \
--start-path "/docs" \
--output_file "document/example_docs.json" \
--selector "main" \
--path-pattern "^/docs/.*" \
--delay 0.5 \
--max-pages 100
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.
gateway
by centralmind
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI protocols, providing secure, LLM-optimized APIs.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.