# Connect Claude Code

> Add Government Context as a remote HTTP server and authenticate in your browser.

## Before you connect

Create a free Government Context account first. Authentication uses a browser OAuth flow: do not create, copy, or paste an API key.

## Connect

Claude Code supports remote Streamable HTTP MCP servers. Add the endpoint from a terminal:

```
claude mcp add --transport http government-context https://mcp.governmentcontext.com
```

1. Start Claude Code and run `/mcp`.
2. Select `government-context`, then authenticate.
3. Complete the browser sign-in with your Government Context account.
4. Return to Claude Code and confirm the server is connected.

## Your first query

Start with a research question that makes the server compose search, detail, and comment tools:

> Which trade associations oppose the FMCSA broker-transparency rule, and what are their main arguments?

If free-tier data is withheld, the tool result explains what is missing and which paid capability would add it. The agent should relay that note instead of retrying the same request.

## Troubleshooting

- Use the bare hostname exactly as shown; do not append `/mcp`.
- If authorization restarts, reconnect and confirm the intended organization.
- If a tool is missing, confirm it is enabled in the client's connector controls.
- Rate-limit responses include a retry time; wait rather than retrying immediately.

---

Source: https://www.governmentcontext.com/docs/connect/claude-code
Every Government Context docs page is available as Markdown: add `.md` to its URL.
Index of the docs, the guides, and every MCP tool: https://www.governmentcontext.com/llms.txt
