MCP.so
登录

MCP Documentation Search Server

@PicardRaphael

基本信息

分类

记忆与知识

传输方式

stdio

作者

PicardRaphael

关于 MCP Documentation Search Server

🔍 FastMCP-powered documentation search engine that provides unified access to multiple framework docs (Next.js, Tailwind, Framer Motion, etc.) with intelligent name resolution and async processing.

MCP Documentation Search Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-documentation": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

MCP Documentation Search Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Documentation Search Server?

This server enables AI systems to intelligently search across multiple popular framework and library documentations using a unified interface. Built with FastMCP, it provides a single tool to query documentation from sources like LangChain, Next.js, Tailwind CSS, Framer Motion, and more.

How to use MCP Documentation Search Server?

Clone the repository, set up a Python virtual environment, install dependencies with pip install -r requirements.txt, and run python main.py. Then use the get_docs function, passing a query and a library name (e.g., get_docs(query="animations", library="framer-motion")). The server intelligently handles multiple library name variations.

Key features of MCP Documentation Search Server

  • Multi-library support across six popular frameworks/libraries
  • Intelligent search with smart name resolution for library variations
  • DuckDuckGo-powered search for accurate results
  • Asynchronous processing and parallel content fetching
  • Robust error handling and network timeout management
  • Comprehensive test suite for reliability

Use cases of MCP Documentation Search Server

  • AI assistants retrieving documentation for user queries without manual browsing
  • Developers integrating doc search into automated workflows or coding tools
  • Rapid prototyping by searching across multiple frameworks from a single interface
  • Serving as a backend for documentation bots or chat interfaces

常见问题

1

What are the runtime requirements?

Python 3.8+ and either pip or uv package manager. A virtual environment is recommended.

2

How do I add a new documentation source?

Add the URL to `DOCS_URLS` in `config.py` and add common aliases to `LIBRARY_ALIASES`. Then update documentation and submit a pull request.

3

What should I do if I get a TimeoutError or no results?

Increase `HTTP_TIMEOUT` in `config.py` (default 30 seconds) for timeouts. For no results, try different search terms or verify the library name. Check your internet connection and the documentation URL for HTTP errors.

4

How does library name resolution work?

The system accepts multiple variations of library names (e.g., "framer", "framermotion", "framer-motion", "motion") and maps them to the correct documentation URL using aliases defined in `config.py`.

5

Are there any tests?

Yes, the project includes unit tests (for utilities and services), integration tests (for the main API), and uses pytest. Run all tests with `python -m pytest`.

评论

记忆与知识 分类下的更多 MCP 服务器