mcpField
M
MCP Documentation Server

MCP Documentation Server

Local
github.com/mahawi1992Memory & Knowledge10Updated 99w ago

About MCP Documentation Server

MCP Documentation Server is a documentation and code-analysis server for Claude Desktop users. It combines framework documentation search, code improvement suggestions, and a system that refines suggestions over time.

Key features

  1. 01Documentation knowledge base updates
  2. 02Brave Search documentation retrieval
  3. 03Code quality analysis and suggestions
  4. 04Framework support for React.js, Next.js, Python, Vue.js, Angular, and Node.js
  5. 05Suggestions improve over time

Use cases

  1. 01Find React hooks or Next.js App Router documentation
  2. 02Review Python code and suggest improvements
  3. 03Look up framework best practices

MCP support

It connects to Claude Desktop as an MCP server. It exposes documentation search and code-analysis capabilities to the assistant.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"mahawi1992_mcp-documentation-server": {
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}
Run commandnpx -y mcp-documentation-server
Environment variables to set
BRAVE_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-documentation-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Quick Start

  1. Install the package:
npm install -g mcp-documentation-server
  1. Configure Claude Desktop (config.json):
{
  "mcpServers": {
    "documentation": {
      "command": "npx",
      "args": ["-y", "mcp-documentation-server"],
      "env": {
        "BRAVE_API_KEY": "<YOUR_BRAVE_API_KEY>"
      }
    }
  }
}
  1. Start using with Claude:
Claude, search documentation for Next.js App Router

For detailed setup instructions, see Claude Desktop Setup Guide

Development Setup

  1. Clone the repository:
git clone https://github.com/mahawi1992/mcp-documentation-server.git
cd mcp-documentation-server
  1. Install dependencies:
npm install
  1. Create a .env file:
PORT=3000
UPDATE_INTERVAL=3600000
CACHE_DURATION=86400000
BRAVE_API_KEY=your_brave_api_key
  1. Start the development server:
npm run dev

Documentation

Using with Claude Desktop

Basic Commands
Claude, search documentation for React hooks
Claude, analyze this Python code and suggest improvements...
Claude, find best practices for Next.js App Router
Advanced Usage
Claude, search for documentation about async/await in Python 3.9
Claude, analyze this code for security issues and suggest fixes...

For more examples, see the Usage Guide

Contributing

  1. Fork the repository
  2. Create your feature branch:
    git checkout -b feature/amazing-feature
    
  3. Commit your changes:
    git commit -m 'Add amazing feature'
    
  4. Push to the branch:
    git push origin feature/amazing-feature
    
  5. Open a Pull Request

Testing

Run the test suite:

npm test

Run specific tests:

npm test -- tests/integration/BraveSearchIntegration.test.ts

License

This project is licensed under the MIT License - see the LICENSE file for details

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.