MCP Server for AI Coding Agents

Any Docs, Any IDE,
Always in Context

Scrape any documentation site and inject it into your AI coding agent's context.
Works with Windsurf, Cursor, Claude Code, and Antigravity.

4
IDEs Supported
~500B
Index Size
6
MCP Tools

Built for Developer Workflows

Everything you need to supercharge your AI assistant with any documentation

LLM-Powered Scraping

7-step pipeline with LLM-assisted scope analysis, CSS selector detection, and automatic SPA support via Selenium.

Multi-IDE Support

Native integration with Windsurf, Cursor, Claude Code, and Antigravity. Each IDE gets docs injected in its own format.

Compact Index

~500 byte always-on index per doc set. The AI agent sees the full file tree and reads individual docs on-demand.

Local First

Docs stored globally in AppData, shared across projects. No cloud dependency. Your docs stay on your machine.

SPA Detection

Automatic detection of client-side rendered sites. Seamless Selenium fallback for React, Angular, and Next.js docs.

Cross-Page Dedup

Automatic removal of repeated UI artifacts across pages. Clean markdown output ready for AI consumption.

Three Steps to Always-On Documentation

1

Scrape

Ask your AI agent to scrape a docs site. It returns a CLI command that runs the 7-step pipeline.

scrape_docs( url="https://docs.example.com", name="example-docs" )
2

Inject

Add the docs to your project. Files are copied and a compact index is injected as an always-on IDE rule.

add_docs_to_project( name="example-docs", project_root="/my/project" )
3

Use

The AI agent now sees the doc index in every conversation and reads individual files on-demand. No extra prompting needed.

// Agent sees ~500 byte index // Reads individual files as needed "How do I configure auth?"

Works With Your IDE

Native integration with 4 AI coding agents

🌊

Windsurf

.windsurf/rules/

📝

Cursor

.cursor/rules/

🤖

Claude Code

CLAUDE.md

🚀

Antigravity

.agent/rules/

Inspired by @gaojude/next-agents-md and Vercel's research on retrieval-led reasoning.
A compressed docs index in AGENTS.md achieved 100% pass rate vs 79% for skills. AnyDocsMCP applies this pattern to any documentation site.

Ready to Supercharge Your AI?

Open source and free forever. Start using AnyDocsMCP in under 5 minutes.