
MCP Documentation Server
A smart documentation server that provides AI-assisted code improvement and documentation management through Claude Desktop integration.
Features
- AI Documentation Guide: Maintains and updates documentation knowledge base
- AI Code Assistant: Analyzes and improves code quality
- Framework Support:
- React.js
- Next.js (with App Router)
- Python
- Vue.js
- Angular
- Node.js
- Brave Search Integration: Smart documentation search and retrieval
- Learning System: Improves suggestions over time
Documentation
Using with Claude Desktop
Basic Commands
Claude, search documentation for React hooksClaude, analyze this Python code and suggest improvements...Claude, find best practices for Next.js App RouterAdvanced Usage
Claude, search for documentation about async/await in Python 3.9Claude, analyze this code for security issues and suggest fixes...For more examples, see the Usage Guide
Testing
Run the test suite:
npm testRun specific tests:
npm test -- tests/integration/BraveSearchIntegration.test.tsCopy & paste โ that's it
npm install -g mcp-documentation-serverBefore it works, you'll need: BRAVE_API_KEY
Quick Start
- Install the package:
npm install -g mcp-documentation-server- Configure Claude Desktop (config.json):
{
"mcpServers": {
"documentation": {
"command": "npx",
"args": ["-y", "mcp-documentation-server"],
"env": {
"BRAVE_API_KEY": "<YOUR_BRAVE_API_KEY>"
}
}
}
}- Start using with Claude:
Claude, search documentation for Next.js App RouterFor detailed setup instructions, see Claude Desktop Setup Guide
Development Setup
- Clone the repository:
git clone https://github.com/mahawi1992/mcp-documentation-server.git
cd mcp-documentation-server- Install dependencies:
npm install- Create a .env file:
PORT=3000
UPDATE_INTERVAL=3600000
CACHE_DURATION=86400000
BRAVE_API_KEY=your_brave_api_key- Start the development server:
npm run devNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
License
This project is licensed under the MIT License - see the LICENSE file for details