Skip to main content
Model Context Protocol (MCP) is an open standard that lets AI assistants securely access external data sources. The Base MCP server connects your AI coding assistant directly to our documentation, giving it live access to search and retrieve the exact information you need in real time.

Setup with Cursor

Cursor is an AI-powered code editor built as a fork of VS Code with features like AI code completion and natural language editing.
1

Open MCP settings

In Cursor, open Settings and navigate to Tools & MCP, then click Add MCP Server.
2

Add Base docs server

In the mcp.json configuration file, add:
mcp.json
{
  "mcpServers": {
    "base-docs": {
      "url": "https://docs.base.org/mcp"
    }
  }
}
3

Save and restart

Save the file and restart Cursor to apply the changes.
4

Start building

Your AI assistant can now access Base docs in real time. Try asking: “How do I deploy a smart contract on Base?”

Setup with Claude Code

Claude Code is an agentic coding tool that lives in your terminal and understands your codebase.
1

Add the Base docs MCP server

Run the following command in your terminal:
Terminal
claude mcp add --transport http base-docs https://docs.base.org/mcp
2

Verify installation

Check that the server was added successfully:
Terminal
claude mcp list
3

Start building

Launch Claude Code and start asking questions. Try: “How do I deploy a smart contract on Base?”