
I Built an MCP Server to Search Documentation from Claude (So You Don't Have to Web Search)
Ever been coding with Claude and needed to check the docs for a library? You either: Open a browser, search, scan through pages Ask Claude, who might hallucinate outdated info Copy-paste docs into the chat (token explosion) I got tired of this loop. So I built DocMCP – an MCP server that crawls documentation sites, indexes them locally, and lets Claude search them directly. What is MCP? Model Context Protocol (MCP) is Anthropic's open standard for connecting AI assistants to external tools and data. Think of it as "plugins for Claude" – but standardized and secure. The Problem Claude's knowledge has a cutoff date. When you're working with: A new library version Recently updated API docs Framework-specific patterns ...Claude might not have the latest info. Web search helps, but it's slow and breaks your flow. The Solution DocMCP lets you: # One-time setup npx @pieeee/docmcp init # Index any docs site npx @pieeee/docmcp add https://tailwindcss.com/docs npx @pieeee/docmcp add https://reac
Continue reading on Dev.to
Opens in a new tab


