preston176/mcp-docs-server
3.1
If you are the rightful owner of mcp-docs-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This MCP server fetches live documentation pages from official sources and exposes them to an MCP-compatible client.
Next.js Docs MCP Server (TypeScript / Node.js)
This MCP server fetches live documentation pages from official sources (Next.js, React, TypeScript, Tailwind, Drizzle, Clerk, Vercel, Neon) and exposes them to an MCP-compatible client (e.g., the VS Code MCP client / Cursor).
What this includes
- Minimal MCP server using
model-context-protocol. - Live fetch of documentation URLs (no local doc copies).
- Basic HTML-to-text conversion using
cheerio. - Simple in-memory caching to avoid refetching the same page repeatedly.
Quick start
- Extract the zip and open the folder.
- Install dependencies:
pnpm install # or npm install - Run the server:
pnpm dev # or npm run dev - Register
.mcp.jsonwith your MCP-capable client (VS Code MCP client or Cursor).
Usage examples (from your AI assistant)
docs.getDocs({ tool: "next" })→ fetcheshttps://nextjs.org/docsdocs.getDocs({ tool: "drizzle" })→ fetches Drizzle docs page indicated insrc/data/sources.json
Add or edit sources
Edit src/data/sources.json to change or add documentation sources.
Notes
- This project uses ESM and requires Node.js 18+.
- The server uses an in-memory cache. For production use, replace with Redis or filesystem cache.
- The
model-context-protocolpackage is referenced aslatest. When integrating with a specific MCP client, ensure compatibility and provide any required runtime flags.