Skip to main content
Claude Code supports direct HTTP Streaming connections to Civic — no local bridge required. Follow the steps below to connect in a few minutes. Hub Bridge is also available as a fallback if needed.

Overview

Claude Code (Anthropic’s command-line coding assistant) uses Model Context Protocol (MCP) to talk to external tools. Civic exposes its functionality through the @civic/hub-bridge MCP server, which you can register with the Claude CLI.

Prerequisites

  • Anthropic Claude CLI (claude) installed and authenticated
  • Node.js 18 or newer (required for npx @civic/hub-bridge)
  • Civic account with access to Hub Bridge

Quick Setup

Claude Code supports two connection methods. Choose the one that works best for you:
Claude CLI connected to the Civic MCP server

Verify the Connection

  • In Claude, run /mcp again to check that civic shows as connected
  • Test a Civic command (for example, request a tool list) to confirm the session is authorized

Troubleshooting

  • If the connection shows failed, re-run claude --debug to view detailed logs in your terminal
  • Ensure you have an active Civic session in your default browser; the MCP flow opens a new window for login
  • Delete and re-add the server with claude mcp remove civic followed by the setup command if you need to refresh credentials

Resources