Get the FREE Ultimate OpenClaw Setup Guide →

documentation

An MCP server for accessing updated documentation of popular libraries

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
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):

  1. Clone the repository
git clone https://github.com/SubaashNair/documentation-mcp-server.git
cd documentation-mcp-server
  1. Install dependencies
npm install
  1. 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
  1. Start the server
npm start

Docker (optional):

  1. Copy the example env and customize
cp .env.example .env
  1. 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

Sponsor this space

Reach thousands of developers