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
| Item | Value |
|---|---|
| URL | https://api.verygov.com/mcp |
| Transport | HTTP streamable |
| Authentication header | Authorization: Bearer YOUR_API_KEY |
| State | Stateless: 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.

2. Claude Code
Option A, with the CLI:
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:
{
"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
Open or create
~/.cursor/mcp.jsonfor a global server, or.cursor/mcp.jsonfor a project server.Add the entry:
{
"mcpServers": {
"verygov": {
"url": "https://api.verygov.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Save the file. Open Cursor Settings → MCP and confirm that
verygovis listed and enabled.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
| Tool | What it does | Credits, full | Credits, cached |
|---|---|---|---|
lookup_company | Finds the company in state registries, SEC, GLEIF, SAM and IRS | 5 | 3 |
screen_company_risk | Screens OFAC, UN, EU, UK, trade.gov CSL and SAM exclusions, and lists recalls | 5 | 3 |
get_company_financials | Returns SEC revenue, income, assets and filings | 3 | 2 |
search_federal_contracts | Returns USAspending awards | 3 | 2 |
verify_us_address | Checks a US address against Census ranges | 1 | 1 |
verify_us_company | Runs the full report (Dossier) | 25 | 13 |
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
verygovappears 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
| Symptom | Cause | Fix |
|---|---|---|
The client shows 401 or "unauthorized" | The key is missing, revoked or the account is not confirmed | Paste the key again; confirm the email and the Terms |
| The server appears but lists no tools | The client did not reload the configuration | Restart the client completely and open a new session |
Test connection says no call has been received | The client is connected to another server, or the call failed before reaching the API | Check the URL and the header, then run a tool |
ENOENT or "cannot parse JSON" | A comma or a brace is missing in the configuration file | Validate the file with a JSON formatter |
The call fails with 402 INSUFFICIENT_CREDITS | The balance does not cover the tool | Buy credits in Billing or use a cheaper tool |
| The model adds a verdict that the data does not support | The model interpreted the answer beyond its sources | Ask 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.