Menu
On this page

MCP setup

5 min read

Connect the remote VeryGov MCP server to Claude Code or Cursor with the documented configuration.

What you will get

The six core VeryGov tools inside Claude Code or Cursor, with the same answers, prices and citations as the REST API.

Before you start

  • An API key that starts with vgov_live_. You can create one in API keys or directly in MCP connection.

  • Claude Code or Cursor installed. The Claude Desktop connection is not validated; see step 4.

  • Permission to edit the client configuration file. It contains secrets; do not commit it.

The server

ItemValue
URLhttps://api.verygov.com/mcp
TransportHTTP streamable
Authentication headerAuthorization: Bearer YOUR_API_KEY
StateStateless: every request is independent

MCP calls go through the same pipeline as REST. They reserve and settle credits in the same way, apply the same rate limit and return the same envelope.

Steps

1. Create a key for the client

Open MCP connection in the panel. In Need a key for the client?, enter a name in Name of the new key, then select Create key for MCP. Copy the token and keep it in your secret manager.

You can also use a key created in API keys.

The MCP connection panel with the server URL, the authentication header, the key form and the client configuration snippets.
Open full-size screenshotScreenshot in English.

2. Claude Code

Option A, with the CLI:

[bash]
claude mcp add --transport http verygov https://api.verygov.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Option B, with the project file. Create or edit .mcp.json at the root of the project:

[json]
{
  "mcpServers": {
    "verygov": {
      "type": "http",
      "url": "https://api.verygov.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Start a new Claude Code session in that project. Ask for a company check; the client calls the tool.

3. Cursor

  1. Open or create ~/.cursor/mcp.json for a global server, or .cursor/mcp.json for a project server.

  2. Add the entry:

[json]
{
  "mcpServers": {
    "verygov": {
      "url": "https://api.verygov.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
  1. Save the file. Open Cursor Settings → MCP and confirm that verygov is listed and enabled.

  2. Ask Cursor to check a company. The first call appears in the panel under MCP connection → Test the connection.

4. Claude Desktop (not validated)

An MCP connection from Claude Desktop with a VeryGov API key has not been validated. The panel displays a claude_desktop_config.json snippet, but the current Claude Desktop documentation describes remote connectors in the account settings and does not document an arbitrary Authorization header in that file.

Do not rely on that snippet until the connection is validated. Use Claude Code or Cursor.

5. Test the connection

In the panel, open MCP connection and select Test connection. The card shows the date of the first call received from any MCP client. If no call has arrived, the panel says so.

The tools

ToolWhat it doesCredits, fullCredits, cached
lookup_companyFinds the company in state registries, SEC, GLEIF, SAM and IRS53
screen_company_riskScreens OFAC, UN, EU, UK, trade.gov CSL and SAM exclusions, and lists recalls53
get_company_financialsReturns SEC revenue, income, assets and filings32
search_federal_contractsReturns USAspending awards32
verify_us_addressChecks a US address against Census ranges11
verify_us_companyRuns the full report (Dossier)2513

The live catalog also exposes check_counterparty_signals and search_adverse_media at 3 credits each (2 from the cache). Your client lists whatever the server exposes.

What the client receives

Each MCP tool returns the same JSON envelope as REST, plus a short text summary. The model can read summary, sources, data, warnings and disclaimer. A not_found result is not an absence of the company; the coverage block names the states that were not checked. If the answer includes adverse media, those headlines are third-party content, not official records.

Expected result

  • verygov appears in the Claude Code or Cursor MCP server list with no error.

  • A company check returns a source line with a URL and a date.

  • MCP connection → Test the connection shows the date of the first call.

Common problems

SymptomCauseFix
The client shows 401 or "unauthorized"The key is missing, revoked or the account is not confirmedPaste the key again; confirm the email and the Terms
The server appears but lists no toolsThe client did not reload the configurationRestart the client completely and open a new session
Test connection says no call has been receivedThe client is connected to another server, or the call failed before reaching the APICheck the URL and the header, then run a tool
ENOENT or "cannot parse JSON"A comma or a brace is missing in the configuration fileValidate the file with a JSON formatter
The call fails with 402 INSUFFICIENT_CREDITSThe balance does not cover the toolBuy credits in Billing or use a cheaper tool
The model adds a verdict that the data does not supportThe model interpreted the answer beyond its sourcesAsk it to quote summary, sources and disclaimer

Next step

Continue with FAQ and limits for the coverage, privacy and FCRA rules that apply to every answer.

Need help?

Write to contacto@verygov.com and include the request id of the report.

MCP setup | VeryGov