documentation
An MCP server for accessing updated documentation of popular libraries
claude mcp add --transport stdio subaashnair-documentation-mcp-server node server.js \ --env PORT="Port to run the server on (default 3000)" \ --env LIBRARIES="Comma-separated list of libraries to fetch (e.g., react,vue,angular)" \ --env GITHUB_TOKEN="GitHub token for API access (optional, if accessing private docs)" \ --env DOCUMENTATION_UPDATE_SCHEDULE="Cron schedule for updates (e.g., '0 0 * * *')"
How to use
The Documentation MCP Server provides a unified interface to access and browse documentation from multiple libraries. It aggregates documentation sources, supports searching across libraries, and lets you filter results by library or version. After starting the server, you can interact with both the web UI and the REST API to discover, search, and retrieve documentation data. The API also includes an endpoint for status checks so you can verify the server is running and healthy. Use the web interface for browsable exploration, or programmatic access via the REST API to integrate documentation data into your own tooling.
How to install
Prerequisites:
- Node.js v18 or newer
- Git
- Optional: Docker (if you prefer containerized deployment)
Install steps (manual Node.js setup):
- Clone the repository
git clone https://github.com/SubaashNair/documentation-mcp-server.git
cd documentation-mcp-server
- Install dependencies
npm install
- Configure environment variables (see .env.example or as command-line env vars):
PORT=3000
GITHUB_TOKEN=your_github_token
DOCUMENTATION_UPDATE_SCHEDULE="0 0 * * *"
LIBRARIES=react,vue,angular
- Start the server
npm start
Docker (optional):
- Copy the example env and customize
cp .env.example .env
- Build and run with Docker Compose (if provided in repo)
docker-compose up -d
Notes:
- If the repository uses a different start script, you can run the appropriate command (e.g., npm run start:prod) instead of npm start.
- If you prefer a pure Docker run, you can adapt the Dockerfile/entrypoint to invoke node server.js or the actual entry point of the project.
Additional notes
Environment variables are important for connecting to private documentation sources and scheduling updates. Common issues include port conflicts (PORT already in use), missing LIBRARIES configuration leading to empty data sets, and authentication problems when GitHub API calls hit rate limits. If you run into API rate limits, consider providing a GitHub token via GITHUB_TOKEN. Ensure the update schedule is valid Cron syntax. The API docs are exposed at /api-docs once the server is running. If using Docker, ensure you copy .env into the container and restart after any env changes.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.