Home / Cloudflare Docs MCP / Setup guides / Claude Code
How to add the Cloudflare Docs MCP server to Claude Code
Server URL: https://docs.mcp.cloudflare.com/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Works 6 of 6 tasks passed, tested Oct 16, 2026 with MCP TypeScript SDK (reference client).
Claude Code setup
claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp- Run the command, then run claude mcp get cloudflare-docs to confirm it connected.
We ran the hands-on test in a reference client, not in Claude Code. This config follows Claude Code's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Known problems and fixes
- MCP tool results too large: context window blown by one call
- MCP tool call times out on slow servers
- MCP error -32601 Method not found on resources/list
Same server, other clients
- Cloudflare Docs MCP in Claude
- Cloudflare Docs MCP in Cursor
- Cloudflare Docs MCP in VS Code
- Cloudflare Docs MCP in ChatGPT
Full Cloudflare Docs test report | Compare all tested connectors | Connector Weather