Docs MCP Server provides a specialized documentation scraping and retrieval system that enables AI assistants to access library documentation from various sources including GitHub, NPM, PyPI, and web pages. Built with TypeScript, it implements a pipeline architecture that handles document scraping, processing, splitting, and storage with features like semantic markdown splitting, greedy chunk optimization, and version-aware retrieval. The server exposes tools for searching documentation, finding specific versions, listing available libraries, and managing scraping jobs through a well-defined API. Particularly valuable for developers who need AI assistants to reference accurate, up-to-date documentation without leaving their workflow.
No reviews yet. Be the first to review!
Sign in to join the conversation
Index new documentation using the built-in scrape tool. Example usage: Please scrape the React documentation from https://react.dev/reference/react for library 'react' version '18.x'.
List indexed libraries. Command: OPENAI_API_KEY='your-key' npx @arabold/docs-mcp-server@latest list.
Search for documentation. Parameters: query (string), example command: OPENAI_API_KEY='your-key' npx @arabold/docs-mcp-server@latest search react 'useState hook'.
Scrape new documentation from a specified URL and library name. Example command: npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react --server-url http://localhost:6280/api.