Docs MCP serverOfficialRemote

Cloudflare Docs MCP Server

Cloudflare's documentation MCP server lets your AI agent search current Cloudflare docs for Workers, R2, D1 and the rest. No account or API key needed.

By Cloudflare · Last updated

Set up

Terminal
claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp

Adds it for you in this project. Add --scope user to have it in every project.

Or share it with your team in .mcp.json

.mcp.json
{
  "mcpServers": {
    "cloudflare-docs": {
      "type": "http",
      "url": "https://docs.mcp.cloudflare.com/mcp"
    }
  }
}

This file is meant to be committed, so secrets are ${NAME}: Claude Code fills them in from each person's environment.

Claude Code MCP docs

What it can do

Reads only look. Writes change something on your account, and read-only mode turns them off.

Docs

Reads

  • Search the Cloudflare documentation and get back the matching passages
  • Read Cloudflare's guide to moving a Pages project to Workers

What it can touch

Official
Yes. Published by Cloudflare, who make the product it connects to.
Sign-in
None. It needs no account.
Read-only mode
No. It can do anything your credentials allow.
What leaves your machine
Your agent's search queries go to Cloudflare. It needs no account, so nothing ties them to you beyond your connection.
Pinned version
Remote only: you use whatever version the publisher is running.
Licence
Apache-2.0
Last reviewed
How we check an MCP server is safe
Check it yourself

MCP servers checklist

0 of 11 checked

Who made it

Before reading a line of it, know whose code you are about to run.

What's inside

The part people skip. Read what your agent will read.

What it can reach

Give it the least access that still does the job.

Keeping it that way

What you checked today is only what runs tomorrow if you pin it.

Your ticks are saved in this browser only.

Cloudflare's documentation server lets your AI agent search the current Cloudflare docs before it writes code for Workers, R2, D1 or anything else on the platform. Cloudflare ships changes often, and a model's memory of a wrangler config or a binding's API goes stale fast. It is a hosted server with two read-only tools and no sign-in, which makes it a low-risk first MCP server to try. This site runs on Cloudflare Workers, which is why it made our list.

Prompts to try

  • "How do I bind a D1 database to a Worker in wrangler.jsonc? Check the Cloudflare docs."
  • "What are the limits on Workers CPU time on the free plan?"
  • "I have a Pages project with functions. What do I need to change to move it to Workers?"
  • "Show me how to cache a fetch response in a Worker with the Cache API."

Gotchas

  • It returns passages, not whole pages. Results are chunks of the docs that match the query. For a long guide, ask it to search again with a narrower query.
  • Your queries go to Cloudflare. Nothing else does: no code, no files. There is no account, so nothing ties a query to you beyond your connection.
  • It is one of many. Cloudflare runs a server per product area. This page is only the docs one; most of the others sign in to your Cloudflare account, and some of them can change things there.

When not to use it

If you do not build on Cloudflare, skip it. For other libraries' docs, try the Context7 MCP server.

FAQ

Does the Cloudflare Docs MCP server need a Cloudflare account?

No. It only searches public documentation, so there is no sign-in and no API key. We connected to it with no credentials at all. The Cloudflare servers that touch your account, like Workers Bindings or Observability, send you to Cloudflare to sign in and pick the permissions to grant.

Can it deploy a Worker or change my account?

No. Both of its tools only read the docs. To work with your account, add one of Cloudflare's other servers, like the Workers Bindings server at bindings.mcp.cloudflare.com, or the Code Mode server at mcp.cloudflare.com, which Cloudflare recommends for broad access to its APIs.

Which Cloudflare products does it cover?

The whole documentation site. Its tool description names Workers, Pages, R2, D1, Durable Objects, KV, Queues, Workers AI, Zero Trust, DNS, caching and more.

See all MCP servers