Integrations
🤖 Claude AI Documentation Assistant 📚
A powerful MCP server that supercharges Claude with documentation search capabilities
✨ Features
- 🔍 Smart Documentation Search - Search across multiple AI/ML library documentation
- 🧠 Claude Integration - Seamless connection with Claude's advanced reasoning capabilities
- 🌐 Intelligent Web Search - Leverages Serper API for targeted documentation lookup
- 💨 Fast Response Times - Optimized for quick retrieval and processing
- 🧩 Extendable Architecture - Easily add more documentation sources
📋 Prerequisites
- 🐍 Python 3.8 or higher
- 🔑 Claude Pro subscription
- 🔐 Serper API key (Get one here)
- 💻 Claude Desktop application
🚀 Quick Start
1️⃣ Installation
2️⃣ Configuration
Create a .env
file in the project root with your API keys:
3️⃣ Start the MCP Server
You should see output indicating the server is running and waiting for Claude to connect.
4️⃣ Connect Claude Desktop App
- 📱 Open the Claude Desktop App
- ⚙️ Click on your profile icon and select "Settings"
- 🧰 Navigate to the "Tools" section
- ➕ Click "Add Tool"
- 🔗 Select "Connect to a local tool"
- 🖥️ Follow the prompts to connect to your running MCP server
- ✅ Confirm the connection is successful
🎮 Using Your Claude Documentation Assistant
Once connected, you can start asking Claude questions that will trigger the documentation search. For example:
Claude will automatically use your MCP server to:
- 🔍 Search for relevant documentation
- 📥 Retrieve the content
- 🧠 Process and explain the information
🔧 Under the Hood
📄 Code Structure
🔌 Supported Libraries
The assistant currently supports searching documentation for:
- 🦜 LangChain:
python.langchain.com/docs
- 🦙 LlamaIndex:
docs.llamaindex.ai/en/stable
- 🧠 OpenAI:
platform.openai.com/docs
🧩 How It Works
- 📡 The MCP server exposes a
get_docs
tool to Claude - 🔍 When invoked, the tool searches for documentation using Serper API
- 📚 Results are scraped for their content
- 🔄 Content is returned to Claude for analysis and explanation
🛠️ Advanced Configuration
Adding New Documentation Sources
Extend the docs_urls
dictionary in main.py
:
Customizing Search Behavior
Modify the search_web
function to adjust the number of results:
🔍 Troubleshooting
Common Issues
- 🚫 "Connection refused" error: Ensure the MCP server is running before connecting Claude
- ⏱️ Timeout errors: Check your internet connection or increase the timeout value
- 🔒 API key issues: Verify your Serper API key is correct in the
.env
file
Debugging Tips
Add more detailed logging by modifying the main.py file:
📈 Performance Optimization
- ⚡ For faster response times, consider caching frequently accessed documentation
- 🧠 Limit the amount of text returned to Claude to avoid token limitations
- 🌐 Use more specific queries to get more relevant documentation
🤝 Contributing
Contributions are welcome! Here's how you can help:
- 🍴 Fork the repository
- 🌿 Create a feature branch (
git checkout -b feature/amazing-feature
) - 💾 Commit your changes (
git commit -m 'Add some amazing feature'
) - 📤 Push to the branch (
git push origin feature/amazing-feature
) - 🔍 Open a Pull Request
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgements
- Anthropic for creating Claude
- Serper.dev for their search API
- All the open-source libraries that make this project possible
This server cannot be installed
An MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.