Enhanced MCP server for searching documentation across popular libraries with caching and real-time web search
Project description
๐ Enhanced Documentation Search MCP Server
Transform Claude into your personal development advisor ๐คโจ
An intelligent MCP server that gives Claude real-time access to documentation, library popularity data, and career insights. Make smarter technology choices with data-driven recommendations tailored to your experience level.
๐ฅ NEW: AWS-Style Deployment - No local setup required! Run directly with
uvx documentation-search-enhanced@latestjust like AWS MCP servers.
๐ฏ AWS-Style Deployment Ready
This MCP server follows the exact same deployment pattern as AWS MCP servers:
# Just like AWS MCP servers - zero setup required!
uvx documentation-search-enhanced@latest
Same professional experience:
- โ No local cloning or setup
- โ Automatic dependency management
- โ
Always up-to-date with
@latest - โ Works with any MCP-compatible AI assistant
โญ Why This MCP Server is Different
๐ฏ Intelligent Recommendations - Not just search, but smart suggestions based on your skill level and project needs
๐ Data-Driven Insights - Real popularity scores, job market trends, and learning time estimates
๐ Career-Focused - Salary insights, trending technologies, and market positioning
โก Lightning Fast - Smart caching delivers responses in 2-5 seconds
๐ง AWS-Style Deployment - Same professional deployment model as AWS MCP servers - just run uvx documentation-search-enhanced@latest
๐ ๏ธ Universal Compatibility - Works with Cursor, Claude Desktop, Windsurf, and any MCP-compatible tool
๐ฌ See the Transformation
๐ค Question: "What's the best agentic framework?"
โ Generic AI Response:
"Popular agentic frameworks include LangChain, AutoGPT, and CrewAI."
โ Enhanced MCP Server Response:
๐ฏ LANGCHAIN - Leading Agentic Framework (Score: 92/100)
๐ Real-Time Market Analysis:
โข GitHub Stars: 95,247+ โ Live data from GitHub API
โข Job Market: EXPLOSIVE (500% increase in Q4 2024)
โข Salary Impact: $50k-$120k+ increase potential
โข Companies: Google, Microsoft, OpenAI, Anthropic actively hiring
๐ก Career Intelligence:
"LangChain skills can increase salary by $50k-$120k+.
500% growth in job postings makes it THE #1 AI skill for 2024.
Best time to learn: NOW - market demand far exceeds supply."
๐ Quick Start (30 seconds)
No local setup required! Run directly with
uvxjust like AWS MCP servers.
# 1. Install and run directly (no cloning needed)
uvx documentation-search-enhanced@latest
# 2. Get your free API key from serper.dev
export SERPER_API_KEY="your_key_here"
๐ง Add to Your AI Assistant
For Cursor
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"documentation-search-enhanced": {
"command": "uvx",
"args": ["documentation-search-enhanced@latest"],
"env": {
"SERPER_API_KEY": "your_key_here"
}
}
}
}
For Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"documentation-search-enhanced": {
"command": "uvx",
"args": ["documentation-search-enhanced@latest"],
"env": {
"SERPER_API_KEY": "your_key_here"
}
}
}
}
For Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"documentation-search-enhanced": {
"command": "uvx",
"args": ["documentation-search-enhanced@latest"],
"env": {
"SERPER_API_KEY": "your_key_here"
}
}
}
}
That's it! ๐ Claude now has intelligent development superpowers.
โจ Benefits of AWS-Style Deployment
โ
Zero Local Setup - No cloning, no path management
โ
Automatic Updates - Always get the latest version with @latest
โ
Isolated Environment - uvx handles dependencies automatically
โ
Universal Compatibility - Works with any MCP-compatible AI assistant
โ
No Maintenance - No local virtual environments to manage
๐ Update to Latest Version
# The @latest tag automatically gets the newest version
# Just restart your AI assistant to get updates
๐ Local Development (Optional)
If you want to contribute or customize:
# 1. Clone and setup
git clone https://github.com/antonmishel/documentation-search-mcp.git
cd documentation-search-mcp
uv sync
# 2. Get your free API key from serper.dev
echo "SERPER_API_KEY=your_key_here" > .env
# 3. Test the MCP server
python src/documentation_search_enhanced/main.py
# Press Ctrl+C when you see it waiting for input โ
# 4. Add to Cursor (.cursor/mcp.json):
For local development:
{
"mcpServers": {
"documentation-search-enhanced": {
"command": "/path/to/.local/bin/uv",
"args": [
"--directory",
"/path/to/documentation-search-mcp",
"run",
"src/documentation_search_enhanced/main.py"
],
"env": {
"SERPER_API_KEY": "your_key_here"
}
}
}
}
๐ ๏ธ 7 Specialized AI Tools
Transform Claude from a generic assistant into a data-driven development expert:
| Tool | What It Does | Example Output |
|---|---|---|
๐ get_docs |
Smart documentation search | Returns targeted FastAPI auth docs in 3 seconds |
๐ฏ recommend_libraries |
Personalized suggestions with real-time career impact | "FastAPI (91/100): $45k salary boost, 83k+ GitHub stars" |
โ๏ธ compare_libraries |
Multi-dimensional analysis with live data | "Winner: Django (91.2/100) vs FastAPI vs Flask (real-time)" |
๐ get_trending_libraries |
Live trend analysis with growth metrics | "AutoGen: Explosive growth, 500% job increase in Q4" |
๐ก get_library_insights |
Real-time market analysis with ROI data | "React: 236k+ stars, $35k-$85k salary increase, 2-month ROI" |
๐ค suggest_libraries |
Smart autocomplete with live popularity | "lang" โ LangChain (95k+ stars, explosive growth)" |
โก health_check |
Performance tracking of 20+ sources | "20/20 sources healthy, avg 180ms response" |
๐ 20+ Supported Technologies
๐ฅ Hot & Trending: FastAPI, LangChain, PromptFlow, AutoGen, OpenAI, Anthropic
โก Frontend: React, JavaScript, TypeScript
๐ ๏ธ Backend: Django, Flask, Express, Node.js, Python
โ๏ธ Cloud Platforms: AWS, Google Cloud, Azure
๐ค AI Frameworks: LangChain, PromptFlow, AutoGen
๐ค AI Services: OpenAI, Anthropic
๐ ๏ธ DevOps: Docker, Kubernetes
๐ Data Science: Pandas, Streamlit
All with real-time GitHub data, job market trends, and career insights!
๐ Core Intelligence Features
๐ง Real-Time Intelligence (Default)
- Live GitHub Data - Real-time stars, forks, activity, community metrics
- Career Intelligence - Current salary data, job market trends, hiring insights
- Experience Matching - Beginner/Intermediate/Advanced optimization
- Trend Analysis - Live growth velocity and market timing advice
๐ฏ Personalized Recommendations
- Experience-Level Adaptation - Tailored advice for your skill level
- Use Case Optimization - Web-API, Frontend, AI, Data-Science specific
- Context-Aware Suggestions - Considers project type, timeline, team size
- Future-Proof Guidance - Trend analysis for long-term skill investment
โ๏ธ Objective Comparisons
- Winner Declarations - Data-driven "best choice" recommendations
- Pros/Cons Analysis - Detailed advantage/disadvantage breakdowns
- Market Position Mapping - Leader/Strong/Moderate/Niche classifications
Prerequisites
- Serper API Key: Get your free key from serper.dev
- UV Package Manager: Install with
curl -LsSf https://astral.sh/uv/install.sh | sh
That's it! No Python installation, no virtual environments, no dependency management needed.
Configuration
Adding New Documentation Sources
Adding new libraries is incredibly simple! Just edit the config.json file:
{
"docs_urls": {
"your_library": {
"url": "https://docs.example.com/",
"category": "web-framework",
"learning_curve": "easy",
"tags": ["python", "web", "api"]
}
}
}
That's it! The system automatically:
- โ Fetches real-time GitHub stars and metrics
- โ Calculates popularity scores and job market trends
- โ Provides career impact analysis
- โ Delivers intelligent recommendations
No manual score updates needed - everything is dynamic!
Usage
Running the Server
# AWS-style deployment (recommended)
uvx documentation-search-enhanced@latest
# Local development (if you've cloned the repo)
python src/documentation_search_enhanced/main.py
Integration with AI Tools
The server integrates seamlessly with any MCP-compatible AI assistant. Simply add the configuration above to your AI tool's MCP settings and restart.
Configuration Files
- Cursor:
.cursor/mcp.json(project-specific) or~/.cursor/mcp.json(global) - Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Windsurf:
~/.codeium/windsurf/mcp_config.json
Security Best Practices
โ ๏ธ Important: Keep your API keys secure and never commit them to version control. The MCP configuration files should be private and not shared publicly.
Available Tools
1. get_docs - Documentation Search
Search for specific information within library documentation.
Parameters:
query(string): Your search querylibrary(string): The library to search in
Example:
get_docs(query="authentication middleware", library="fastapi")
2. recommend_libraries - Smart Recommendations
Get personalized library suggestions based on your use case and experience level.
Parameters:
use_case(string): Project type (e.g., "web-api", "frontend", "ai")experience_level(string): Your skill level ("beginner", "intermediate", "advanced")
3. compare_libraries - Technology Comparison
Compare multiple libraries with data-driven analysis.
Parameters:
library_names(list): Libraries to compare
4. Additional Tools
suggest_libraries- Auto-complete library namesget_trending_libraries- Find trending technologiesget_library_insights- Deep analysis of specific librarieshealth_check- Monitor documentation source availabilityclear_cache- Clear cached content
How It Works
- Query Processing - Takes your search query and target library
- Real-Time Enhancement - Fetches live GitHub data, job market trends (default)
- Smart Search - Uses Serper API for site-specific documentation search
- Parallel Fetching - Concurrently fetches multiple documentation pages
- Content Extraction - Parses clean text using BeautifulSoup
- Intelligence Analysis - Applies real-time scoring and career recommendations
- Intelligent Caching - Stores results for faster future requests
Environment Variables
Create a .env file with:
SERPER_API_KEY=your_serper_api_key_here
Real-Time Intelligence (Default)
The MCP server uses real-time data by default for maximum accuracy:
# Real-time mode is DEFAULT - no setup needed!
# System automatically fetches:
# - Live GitHub stars, forks, activity
# - Current job market trends
# - Real-time popularity calculations
# - Career impact analysis
# Optional: Add GitHub token for higher API rate limits
export GITHUB_TOKEN=your_github_token
# Switch to static mode only if needed (not recommended)
Benefits of Real-Time Mode:
- โ Always current data (never stale)
- โ Accurate trending analysis
- โ Current job market insights
- โ Zero maintenance overhead
Project Structure
documentation-search-mcp/
โโโ src/
โ โโโ documentation_search_enhanced/
โ โโโ __init__.py # Package initialization
โ โโโ main.py # Main MCP server implementation
โ โโโ config.json # Documentation sources configuration
โโโ dynamic_enhancer.py # Optional enhancement module (not used)
โโโ pyproject.toml # Project dependencies and packaging
โโโ publish_to_pypi.sh # Publishing script for AWS-style deployment
โโโ test_publish.sh # Test publishing script
โโโ README.md # This file
โโโ CONTRIBUTING.md # Contribution guidelines
โโโ LICENSE # MIT License
โโโ .env # Environment variables (create this for local dev)
Contributing
To add support for new libraries:
- Add the library and its documentation URL to
config.json - Test that the documentation site returns useful content
- Submit a pull request
Troubleshooting
Common Issues
- "Library not supported": Check that the library name matches an entry in
config.json - "No results found": Try a more general search query
- Timeout errors: Some documentation sites may be slow; this is handled gracefully
Integration Issues
- Tool not appearing: Ensure paths are correct and dependencies are installed
- Environment variables: Verify
SERPER_API_KEYis set in MCP configuration - Virtual environment: Use the correct Python path from your venv
๐ฏ Ready to Transform Your Development Workflow?
โญ Star this repository if you find it valuable!
๐ Get Started Now
- Install:
uvx documentation-search-enhanced@latest - API Key: Get free key from serper.dev
- Configure: Add to your AI assistant (see Quick Start above)
- Experience: Ask Claude "What's the best framework for my project?"
๐ค Join the Community
- ๐ฌ Questions? Open an issue
- ๐ Bug Reports: We fix them fast!
- โจ Feature Requests: Your ideas make this better
- ๐ Pull Requests: Contributions welcome!
๐ License
This project is open source under the MIT License. See LICENSE file for details.
Made with โค๏ธ by developers, for developers
Transform Claude into your personal development advisor today!
โญ Don't forget to star this repo if it helped you! โญ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file documentation_search_enhanced-1.0.0.tar.gz.
File metadata
- Download URL: documentation_search_enhanced-1.0.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a94550a0e1a90cb8645819de59c13faca882147addb6544b21a565b2453dce07
|
|
| MD5 |
166b899615e235f42df33fe30ad2de1f
|
|
| BLAKE2b-256 |
b8127c1f43c61f73dfa3eeff021e374c9d574ce662cb2868f75a550a5bacf5cc
|
File details
Details for the file documentation_search_enhanced-1.0.0-py3-none-any.whl.
File metadata
- Download URL: documentation_search_enhanced-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec91666589b82cca3c84eaf5fbc74ecb87e329d8358676ad2881fb345c841e9d
|
|
| MD5 |
3264aae473417d2eaadf35d0d3e3eeb9
|
|
| BLAKE2b-256 |
2234261583b19452f0fccc173e2a586fd09bd6601e03427b05b600816f13dcd8
|