Skip to content

MCP and plugins

Use Contrast in Claude Code,
Codex and Cursor.

Add the Contrast MCP server and your agent can set up a warehouse, connect your sources, and answer from your data with the query behind each number.

50 tools · read-only SQL · sign-in in your browser

  1. Add the server and sign in

    Run this in your terminal. Your browser opens so you can choose a workspace and approve access.

    claude mcp add --transport http --scope user contrast https://contrastdb.com/api/mcp && claude mcp login contrast
  2. Check that it connected

    In Claude Code, /mcp lists contrast as connected. If it says it needs authentication, sign in from there.

  3. Ask for what you want to know

    The first time, your agent sets up the warehouse and connects the sources you name before it answers.

    Set up my data warehouse and help me answer my first question.

What your agent can do.

Every client gets the same tools, one per operation. These are their names as your agent sees them.

Warehouse
Preview the setup plan, provision the warehouse, and check that it is ready and fresh.
warehouse_planwarehouse_applywarehouse_statuswarehouse_dbt
Sources
List the source types your workspace supports and connect one. Credentials go in the browser, never the chat.
sources_typessources_listsources_statussources_connectsources_verify
Ingestion
Choose tables, start a sync, pause or resume it, and pick the columns that land.
ingestion_planingestion_startingestion_statusingestion_syncingestion_pauseingestion_resumeingestion_deleteingestion_inspect_tableingestion_edit_table
Catalog
Search tables and saved definitions, read lineage, and save or correct what a metric means.
catalog_searchcatalog_describecatalog_listcatalog_lineagecatalog_savecatalog_correct
Dashboards
Create charts, dashboards and datasets, read them back, and run a chart’s query.
bi_schemabi_listbi_getbi_createbi_updatebi_deletebi_databi_refresh
Queries
Run read-only SQL and page through the results. A query can’t change warehouse rows.
query_runquery_resultsquery_cancel
TraceDB
Count, break down and sequence the events on each entity’s timeline: funnels, retention and what happened next.
engine_describeengine_queryengine_sql
Pipelines
List pipelines, read their runs and logs, run or rerun one, and pause its schedule.
pipelines_listpipelines_statuspipelines_runspipelines_run_statuspipelines_logspipelines_runpipelines_rerunpipelines_cancel_runpipelines_pausepipelines_resume
Product analytics
Run trends, funnels, retention and session reports over your product’s events.
analytics_projectsanalytics_report

What your agent can’t do

Sources sign in through your browser, so your agent never sees a password. Its queries are read-only, and no tool deletes warehouse rows.

Common questions.

Do I need a Contrast account first?

No. Your agent opens sign-up or sign-in in your browser, then asks you to choose a workspace and approve its access. Signing in to this website doesn’t authorize MCP on its own.

Is the plugin in the Claude or Cursor marketplace?

Not yet. Both are in review. The Contrast plugin is already in the ChatGPT and Codex directory, and until the others are listed, Claude Code and Cursor connect to the same MCP server and get the same tools.

What can my agent change?

With write access it can start and pause syncs, choose columns, save definitions, and create or delete charts and dashboards. Setting up the warehouse, connecting a source and removing a sync need admin access. The approval screen shows what a client is asking for, and your workspace role still applies.

The Contrast tools don’t show up. What now?

Some clients hide a failed sign-in, so the tools are just missing. Run claude mcp list or codex mcp list. Needs authentication or Not logged in means sign in again, with /mcp in Claude Code or codex mcp login contrast. The MCP guide covers the other cases.

Where does my data go?

A tool call sends what your agent asked for to Contrast and returns rows from your workspace to the agent, so they pass through the model you are using. Access follows the signed-in person’s workspace permissions. Security and trust

Or start with
one prompt.

Paste it into any of them. Your agent reads the setup guide, connects itself, and asks you to sign in.

Read https://contrastdb.com/setup/agent.md and set up Contrast for me.
Help me create an account or sign in, then connect your MCP access.
Connect all tables from my sources and get me to my first useful answer.