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
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 contrastCheck that it connected
In Claude Code,
/mcplistscontrastas connected. If it says it needs authentication, sign in from there.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.
Install the plugin
Contrast is in the plugin directory for ChatGPT and Codex. It asks you to sign in when you install it.
Add to CodexOr add the server from the Codex CLI
This adds the same tools without the plugin, then opens your browser to sign in.
codex mcp add contrast --url https://contrastdb.com/api/mcp && codex mcp login contrastAsk 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.
Add Contrast to Cursor
The button opens Cursor and asks you to confirm the server.
Add to CursorCursor didn’t open? Add this to
~/.cursor/mcp.json, keeping what is already there.{ "mcpServers": { "contrast": { "url": "https://contrastdb.com/api/mcp" } } }Sign in
In Cursor Settings, open MCP and sign in to
contrast. Choose a workspace and approve access in your browser.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.
Add the server by URL
Any client that supports remote MCP with OAuth can use this endpoint. Start sign-in from the client, then choose a workspace and approve access in your browser.
https://contrastdb.com/api/mcpNo remote OAuth? Use the CLI
Guided setup signs in through your browser, keeps the token in your system’s credential store, and installs a local bridge your client starts as
contrast mcp serve.npx @contrastlabs/cli@latest setupAsk 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.