Quadratic MCP for Claude Code

Add the Quadratic MCP server to Anthropic’s Claude Code CLI with a single command. Let Claude Code read, write, and run code against your spreadsheets straight from the terminal.

All MCP clients

Once connected, Claude Code can pull values from any Quadratic sheet you own, write cells and formulas, run Python or SQL, and build charts — all from the same terminal session you’re already using for code.

How to add Quadratic MCP to Claude Code

  1. 1

    Install Claude Code (if you haven’t already)

    Install the Claude Code CLI with a single script. Skip this step if you already have claude on your PATH.
  2. 2

    Run the Quadratic MCP install command

    Paste this into your terminal. It uses Claude Code's recommended HTTP transport to register Quadratic as a remote MCP server.
    Command
  3. 3

    Authenticate with /mcp

    Start Claude Code with claude. Inside the session, run /mcp. Claude Code will open a browser window to sign you in to Quadratic via OAuth. Approve access and tokens are stored and refreshed automatically.
  4. 4

    Ask Claude Code to use Quadratic

    Try something like "Using Quadratic, summarize the Q3 sales sheet and highlight outliers" or "Create a new Quadratic sheet with a 3-year SaaS financial model." Claude Code will call the Quadratic MCP tools and stream results back to the terminal.

Prefer editing the config file?

Claude Code stores MCP configuration in ~/.claude.json. You can add Quadratic directly by merging the snippet below into your file.
~/.claude.json
{
  "mcpServers": {
    "quadratic": {
      "type": "http",
      "url": "https://mcp.quadratichq.com/"
    }
  }
}

Claude Code + Quadratic MCP FAQs

What scope should I install at?

The default --scope local is per-project. Use --scope user to make Quadratic available in every Claude Code project on your machine. --scope project shares it with everyone on the repo via .mcp.json.

How do I list or remove the Quadratic MCP server?

Run claude mcp list to see all configured servers, claude mcp get quadratic for details, or claude mcp remove quadratic to remove it.

My OAuth callback port is blocked. What now?

Run claude mcp add --transport http --callback-port 8080 quadratic https://mcp.quadratichq.com/ to pin a specific callback port. This is useful on corporate networks or inside containers.

What is the Quadratic MCP URL?

The Quadratic MCP server is hosted at https://mcp.quadratichq.com/. Paste this URL into your Claude Code MCP configuration.

Is Quadratic MCP free?

Yes. Quadratic MCP is included with every Quadratic plan, including the free tier. You only need a Quadratic account and a supported AI client.

Is it secure?

Yes. Quadratic MCP uses OAuth 2.0 to authenticate each AI client with your Quadratic account. Your AI only sees files and data you already have access to, and you can revoke any connected client at any time in Quadratic settings.

What can I do with Quadratic MCP in Claude Code?

Once connected, Claude Code can read values from your Quadratic sheets, write cells and formulas, run Python and SQL, and build charts. Ask Claude Code any question about your spreadsheets the same way you’d ask about a PDF or URL.

Which other AI clients support Quadratic MCP?

Cursor, VS Code, Claude, ChatGPT, and Windsurf all work with Quadratic MCP today, plus any other client that supports remote Streamable HTTP MCP servers. See the full list.
Quadratic logo

Get started for free

The AI spreadsheet built for speed, clarity, and instant insights, without the pain.

Try Quadratic free