Evidence

Docs

Documentation

Evidence is an MCP server that gives an AI assistant a curated catalog of Brazilian data, public and licensed: companies (the CNPJ registry, RAIS), the economy, health and education. The assistant can find the tables that answer a question, read what they mean, plan how to combine them, and run read-only queries with the cost checked first.

Connect

Server URL: https://mcp.evidence.so/mcp (Streamable HTTP). Add it as a connector in Claude, ChatGPT or another MCP client and sign in when asked; no client ID is needed. Step-by-step setup for each assistant.

Sign-in and permissions

Sign-in uses OAuth 2.1 with PKCE: users sign in with Google or an Evidence API key. Clients register themselves (dynamic client registration or a client ID metadata document). The consent screen lists what the connection allows:

  • query: search and read the catalog, and run read-only SQL on its data sources. Query costs are billed to the account's budget.
  • offline_access: stay connected without signing in again. Refresh tokens last 30 days and rotate on use.

Evidence staff have extra catalog-curation tools; other accounts never see them. API keys are revoked from the keys page.

Tools

Every tool declares whether it is read-only, so assistants can run reads without asking and ask before the others. No tool changes the data sources: SQL is limited to a single read-only SELECT on catalogued tables.

  • searchRead-only

    Finds tables, datasets, columns, variables and topics, in Portuguese or English.

  • describeRead-only

    A table's card: what one row is, every column's unit and code system, coverage, caveats and how to access it.

  • exploreRead-only

    The links between catalog entries, such as the tables that share an entity.

  • join_pathRead-only

    How to join 2 to 5 tables: matching columns, period alignment and a SQL skeleton. Runs nothing.

  • estimateRead-only

    A dry run of a query: bytes scanned, cost and budget left. Nothing runs or is billed.

  • resultRead-only

    Pages through a query result, or waits for a running query to finish.

  • accountRead-only

    The account's budget, spend and connected sources.

  • queryWrites · spends query budget

    Runs one read-only SELECT at the source and stores the result for CSV or Parquet download.

  • lookup_valuesWrites · can spend query budget

    Decodes codes, or finds a code by its label. Reading a reference table runs a small query.

  • reportWrites · adds a record

    Tells the catalog whether its data answered a question, or that data is missing or wrong.

  • registerWrites · adds a card

    Adds a dataset you point to (a file URL, a warehouse table or an API) to the catalog, as a card private to your organisation that the catalog fills in afterwards.

  • feedbackWrites · adds a record

    Reports a problem with the Evidence tools themselves.

  • cancelDestructive · the result is lost

    Stops a running query.

Data and privacy

  • Evidence only receives what the assistant sends to its tools: search text, table ids, SQL and the other arguments of each call. It never reads conversations, chat history, memory or files.
  • Each tool call is logged (tool, arguments, result size, timing, cost, client and account) to bill, enforce limits and improve the catalog. Credentials found in logs are redacted.
  • Credentials for your own data sources are stored encrypted and used only to run your queries. API keys are stored hashed.
  • Details, processors and retention: the privacy policy. Terms of use: the terms.

Limits

  • Queries on Evidence-held credentials are capped per query, per session and per month, and the estimate is checked against the caps before anything runs.
  • Licensed tables (such as the most recent CNPJ snapshots) need the user's own credential for that provider, added in the Evidence console.
  • Files and some APIs are fetch-only: Evidence explains how to download them instead of querying them.
  • Catalog descriptions are partly AI-assisted and checked against the data where possible. Verify results that matter.

Help

Support has common problems and fixes, or write to [email protected].