MCP Documentation Search Server logo

MCP Documentation Search Server

by PicardRaphael

A powerful documentation search server built with FastMCP, enabling AI systems to intelligently search across multiple popular framework and library documentations. This tool ensures that AI models can quickly access and retrieve relevant information from various documentation sources using a unified interface.

View on GitHub

Last updated: N/A

What is MCP Documentation Search Server?

The MCP Documentation Search Server is a tool built with FastMCP that allows AI systems to intelligently search across multiple popular framework and library documentations. It provides a unified interface to quickly access and retrieve relevant information from various documentation sources.

How to use MCP Documentation Search Server?

To use the server, clone the repository, set up a virtual environment, install dependencies using pip install -r requirements.txt, and run the server using python main.py. You can then use the get_docs function to search for specific queries within different libraries, specifying the query and library name.

Key features of MCP Documentation Search Server

  • Multi-Library Support (LangChain, LangGraph, Next.js, Tailwind CSS, FastMCP, Framer Motion)

  • Intelligent Search with smart name resolution and DuckDuckGo-powered search

  • Performance Features including asynchronous processing and efficient web request handling

  • Robust Error Handling with network timeout management and input validation

Use cases of MCP Documentation Search Server

  • Quickly finding specific information in framework documentation for AI development

  • Building AI models that can automatically access and use documentation

  • Creating a unified search interface for multiple documentation sources

  • Improving the efficiency of AI development workflows

FAQ from MCP Documentation Search Server

How do I add a new library to the search?

Add the documentation URL in config.py under DOCS_URLS and add common aliases in LIBRARY_ALIASES.

What if I get a TimeoutError?

Increase the HTTP_TIMEOUT value in config.py.

Why am I getting no search results?

Try different search terms or verify the library name. Ensure the documentation for the library is accessible and properly indexed.

How can I contribute to the project?

Fork the repository, create a feature branch, make your changes, add tests, ensure all tests pass, and submit a pull request.

What is the license for this project?

This project is licensed under the MIT License. See the LICENSE file for details.