Skip to main content
MCP server CX Codex

devdocs-mcp — Claude Code MCP server: what it does, how to install

Provides version-pinned DevDocs.io documentation directly to your AI agent. Runs fully offline to stop API hallucinations.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add devdocs-mcp -- npx -y @madhan-g-p/devdocs-mcp-server
Open on GitHub

What devdocs-mcp does

The server acts as a local API reference layer built on NestJS and TypeScript. Instead of making slow web requests or guessing syntax, the assistant queries DevDocs.io archives stored on disk. It relies on sql.js for metadata indexing, which avoids native C++ compilation steps entirely.

Documentation datasets stay mapped to dependencies declared in your package.json. An agent fetches and stores these datasets locally using the ingest tool. Without running this ingestion step first, the server cannot supply offline context for that specific library. You can run the process via Node.js or Docker.

What it helps with

  • supply exact API definitions matched to package.json versions
  • retrieve reference documentation without an active internet connection
  • prevent obsolete syntax and agent hallucinations in library calls

Example prompts for the agent

  • Ingest documentation for react 18.2.0 and typescript 5.0.0 into DevDocs
  • Look up the IntersectionObserver constructor in local DevDocs
  • Check the signature for this library method using devdocs-mcp

How to install devdocs-mcp

Platform CLI

claude mcp add devdocs-mcp -- npx -y @madhan-g-p/devdocs-mcp-server

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about devdocs-mcp

How to install devdocs-mcp in Claude Code?

Run claude mcp add devdocs-mcp -- npx -y @madhan-g-p/devdocs-mcp-server in your terminal. This registers the server package into your client configuration.

What does devdocs-mcp do?

It serves cached DevDocs.io entries to coding agents. This provides authoritative signatures for exact library releases instead of guessed parameters.

What are the prerequisites for running this server?

You need Node.js 18 or higher. Because it uses sql.js, no C++ build toolchains or Python setups are required.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor