Metabase MCP server
306 operations0 webhooks
Work with Metabase's documented REST API for collections, queries, permissions, people, embedding, and administration.
Try Metabase with your agent
Connect Metabase, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Metabase on my account, then run one read-only example and show me the result.
Metabase tools and triggers
Tools are what your agent can do in Metabase through Corsair's MCP server. Triggers are the Metabase events a routine can start from.
Ee
- Delete Ai Controls Mcp Permissions AdvancedDestructive
Pro/Enterprise only. Switch back to All Users only.
ee.deleteAiControlsMcpPermissionsAdvanced
- Delete Ai Controls Permissions AdvancedDestructive
Pro/Enterprise only. Switch back to simple permissions.
ee.deleteAiControlsPermissionsAdvanced
- Delete Apps By Slug Groups By Group IdDestructive
Pro/Enterprise only. Revoke a group's access to a data app's resource collection.
ee.deleteAppsBySlugGroupsByGroupId
- Delete Cloud Add Ons By Product TypeDestructive
Pro/Enterprise only. Remove an add-on.
ee.deleteCloudAddOnsByProductType
- Delete Custom Viz Plugin By IdDestructive
Pro/Enterprise only. Remove a custom visualization plugin and evict its on-disk cache.
ee.deleteCustomVizPluginById
- Delete Transform Test By IdDestructive
Pro/Enterprise only. Delete a transform test.
ee.deleteTransformTestById
- Get Ai Controls Mcp PermissionsRead-only
Pro/Enterprise only. List the MCP tool policy of every group, with the tools it can name and the current permission mode.
ee.getAiControlsMcpPermissions
- Get Ai Controls PermissionsRead-only
Pro/Enterprise only. List all metabot permissions for all groups, filling in defaults for missing entries.
ee.getAiControlsPermissions
- Get Ai Controls Usage GroupRead-only
Pro/Enterprise only. Get all group-level metabot usage limits.
ee.getAiControlsUsageGroup
- Get Ai Controls Usage Group By Group IdRead-only
Pro/Enterprise only. Get the metabot usage limit for a specific group.
ee.getAiControlsUsageGroupByGroupId
- Get Ai Controls Usage InstanceRead-only
Pro/Enterprise only. Get the instance-wide metabot usage limit.
ee.getAiControlsUsageInstance
- Get Ai Controls Usage TenantRead-only
Pro/Enterprise only. Get all tenant-level metabot usage limits.
ee.getAiControlsUsageTenant
- Get Ai Controls Usage Tenant By Tenant IdRead-only
Pro/Enterprise only. Get the metabot usage limit for a specific tenant.
ee.getAiControlsUsageTenantByTenantId
- Get AppsRead-only
Pro/Enterprise only. List the data apps the user can read.
ee.getApps
- Get Apps By SlugRead-only
Pro/Enterprise only. Fetch metadata for a single data app by its slug, disabled ones to superusers only.
ee.getAppsBySlug
- Get Apps By Slug BundleRead-only
Pro/Enterprise only. Serve the cached JS bundle for a single data app by slug, disabled ones to superusers only.
ee.getAppsBySlugBundle
- Get Apps By Slug Group Permission WarningsRead-only
Pro/Enterprise only. Return missing table access for the groups listed for this app.
ee.getAppsBySlugGroupPermissionWarnings
- Get Apps By Slug GroupsRead-only
Pro/Enterprise only. List the groups other than Administrators that can read a data app's resource collection.
ee.getAppsBySlugGroups
- Get Apps Generate SchemaRead-only
Pro/Enterprise only. The `src/metabase.schema.ts` file of a data app: the Library's published tables, with their fields, segments and measures, and its metrics.
ee.getAppsGenerateSchema
- Get Apps Repo StatusRead-only
Pro/Enterprise only. Status of the connected repository as it relates to data apps.
ee.getAppsRepoStatus
- Get Apps Sandbox HostRead-only
Pro/Enterprise only. Serve the document used as the `src` of the Near-Membrane realm iframe, carrying a per-document CSP that confines `'unsafe-eval'` to that realm.
ee.getAppsSandboxHost
- Get Content Diagnostics DuplicatedRead-only
Pro/Enterprise only. List **duplicated** findings - the latest valid finding per (entity, finding-type) across the duplicated finding types (currently just `duplicate_name`), permission-filtered for the current user.
ee.getContentDiagnosticsDuplicated
- Get Content Diagnostics ImbalancedRead-only
Pro/Enterprise only. List **imbalanced** findings - the latest valid finding per (entity, finding-type) across the `empty`/`sparse`/`crowded` checkers, permission-filtered for the current user.
ee.getContentDiagnosticsImbalanced
- Get Content Diagnostics SlowRead-only
Pro/Enterprise only. List **slow** findings - the latest valid `slow` finding per entity, permission-filtered for the current user.
ee.getContentDiagnosticsSlow
- Get Content Diagnostics StaleRead-only
Pro/Enterprise only. List **stale** findings - the latest valid `stale` finding per entity, permission-filtered for the current user.
ee.getContentDiagnosticsStale
- Get Content Translation DictionaryRead-only
Pro/Enterprise only. Fetch the content translation dictionary for authenticated users (auth-based embedding flows).
ee.getContentTranslationDictionary
- Get Custom Viz PluginRead-only
Pro/Enterprise only. List all registered custom visualization plugins.
ee.getCustomVizPlugin
- Get Custom Viz Plugin By Id AssetRead-only
Pro/Enterprise only. Serve the plugin's icon image from its bundle.
ee.getCustomVizPluginByIdAsset
- Get Custom Viz Plugin By Id BundleRead-only
Pro/Enterprise only. Serve the JS bundle for a plugin from the on-disk cache.
ee.getCustomVizPluginByIdBundle
- Get Custom Viz Plugin ListRead-only
Pro/Enterprise only. List active and enabled custom visualization plugins.
ee.getCustomVizPluginList
- Get Custom Viz Plugin Sandbox HostRead-only
Pro/Enterprise only. Serve a minimal HTML document used as the iframe `src` for the near-membrane custom-viz sandbox.
ee.getCustomVizPluginSandboxHost
- Get Data Complexity Score ComplexityRead-only
Pro/Enterprise only. Return the most recently stored Data Complexity Score for this instance.
ee.getDataComplexityScoreComplexity
- Get Data Studio Table By Id Publishing InfoRead-only
Pro/Enterprise only. Return the latest valid publishing information for a published table, or no content when unavailable.
ee.getDataStudioTableByIdPublishingInfo
- Get Dependencies Backfill StatusRead-only
Pro/Enterprise only. Whether no entity awaits the computation of its dependencies, as `complete`, for superusers.
ee.getDependenciesBackfillStatus
- Get Dependencies GraphRead-only
Pro/Enterprise only. This endpoint takes an :id and a supported entity :type, and returns a graph of all its upstream dependencies.
ee.getDependenciesGraph
- Get Dependencies Graph BreakingRead-only
Pro/Enterprise only. Returns a list of entities that are breaking other entities (sources of errors).
ee.getDependenciesGraphBreaking
- Get Dependencies Graph BrokenRead-only
Pro/Enterprise only. Returns the broken dependents for a specific source entity.
ee.getDependenciesGraphBroken
- Get Dependencies Graph DependentsRead-only
Pro/Enterprise only. Returns a list of dependents for the specified entity.
ee.getDependenciesGraphDependents
- Get Dependencies Graph UnreferencedRead-only
Pro/Enterprise only. Returns a list of all unreferenced items in the instance.
ee.getDependenciesGraphUnreferenced
- Get ErdRead-only
Pro/Enterprise only. Return an Entity Relationship Diagram (ERD) for tables and their FK relationships.
ee.getErd
- Get Gsheets ConnectionRead-only
Pro/Enterprise only. Check the status of a connection.
ee.getGsheetsConnection
- Get Gsheets Service AccountRead-only
Pro/Enterprise only. Checks to see if service-account is setup or not, delegates to HM only if we haven't set it from a metabase cluster before.
ee.getGsheetsServiceAccount
- Get LibraryRead-only
Pro/Enterprise only. Get the Library.
ee.getLibrary
- Get Metabot Analytics ConversationsRead-only
Pro/Enterprise only. Return paginated list of AI conversations with summary statistics.
ee.getMetabotAnalyticsConversations
- Get Metabot Analytics Conversations By IdRead-only
Pro/Enterprise only. Return full details for a specific conversation including all messages.
ee.getMetabotAnalyticsConversationsById
- Get Metabot UsageRead-only
Pro/Enterprise only. Fetch current Metabot token usage for the current billing period.
ee.getMetabotUsage
- Get Mfa Admin Enrolled UsersRead-only
Pro/Enterprise only. Admin: users who have a confirmed second factor.
ee.getMfaAdminEnrolledUsers
- Get Mfa Admin OverviewRead-only
Pro/Enterprise only. Admin: enrollment overview — how many users have (and haven't) set up a second factor, and whether the instance encrypts secrets at rest.
ee.getMfaAdminOverview
- Get Mfa Admin Unenrolled UsersRead-only
Pro/Enterprise only. Admin: active users who have not set up a second factor.
ee.getMfaAdminUnenrolledUsers
- Get Mfa StatusRead-only
Pro/Enterprise only. The current user's MFA status, for the account-settings UI.
ee.getMfaStatus
- Get Permission DebugRead-only
Pro/Enterprise only. This endpoint expects a `user_id`, a `model_id` to debug permissions against, and `action_type`.
ee.getPermissionDebug
- Get Remote Sync BranchesRead-only
Pro/Enterprise only. Get list of branches from the configured source.
ee.getRemoteSyncBranches
- Get Remote Sync Current TaskRead-only
Pro/Enterprise only. Get the current sync task
ee.getRemoteSyncCurrentTask
- Get Remote Sync DirtyRead-only
Pro/Enterprise only. Return all models with changes that have not been pushed to the remote sync source in any remote-synced collection.
ee.getRemoteSyncDirty
- Get Remote Sync Export PreflightRead-only
Pro/Enterprise only. Dry-run preview of what pushing the current state would do given the live remote branch, without writing anything.
ee.getRemoteSyncExportPreflight
- Get Remote Sync Has Remote ChangesRead-only
Pro/Enterprise only. Check if there are new changes on the remote branch that can be pulled.
ee.getRemoteSyncHasRemoteChanges
- Get Remote Sync Is DirtyRead-only
Pro/Enterprise only. Check if any remote-synced collection or collection item has local changes that have not been pushed to the remote sync source.
ee.getRemoteSyncIsDirty
- Get Replacement RunsRead-only
Pro/Enterprise only. List replacement runs, optionally filtered by is-active.
ee.getReplacementRuns
- Get Replacement Runs By IdRead-only
Pro/Enterprise only. Get the status of a source replacement run.
ee.getReplacementRunsById
- Get Security CenterRead-only
Pro/Enterprise only. List all security advisories with match status.
ee.getSecurityCenter
- Get Session ManagementRead-only
Pro/Enterprise only. List sessions.
ee.getSessionManagement
- Get Support Access GrantRead-only
Pro/Enterprise only. List support access grants with optional filtering and pagination.
ee.getSupportAccessGrant
- Get Support Access Grant CurrentRead-only
Pro/Enterprise only. Get the currently active support access grant, if one exists.
ee.getSupportAccessGrantCurrent
- Get TenantRead-only
Pro/Enterprise only. Get all tenants
ee.getTenant
- Get Tenant By IdRead-only
Pro/Enterprise only. Get info about a tenant
ee.getTenantById
- Get Transform TestRead-only
Pro/Enterprise only. List the transform tests with their newest runs, optionally only those of one transform.
ee.getTransformTest
- Get Transform Test By IdRead-only
Pro/Enterprise only. Get a transform test with its newest run.
ee.getTransformTestById
- Get Transform Test By Id RunRead-only
Pro/Enterprise only. List the runs of a transform test, newest first.
ee.getTransformTestByIdRun
- Get Transforms By Id InspectRead-only
Pro/Enterprise only. Phase 1: Discover available lenses for a transform.
ee.getTransformsByIdInspect
- Get Transforms By Id Inspect By Lens IdRead-only
Pro/Enterprise only. Phase 2: Get full lens contents for a transform.
ee.getTransformsByIdInspectByLensId
- Post Ai Controls Mcp Permissions AdvancedDestructive
Pro/Enterprise only. Switch to group-level MCP tool access.
ee.postAiControlsMcpPermissionsAdvanced
- Post Ai Controls Permissions AdvancedDestructive
Pro/Enterprise only. Switch to group-level permissions.
ee.postAiControlsPermissionsAdvanced
- Post Apps By Slug GroupsDestructive
Pro/Enterprise only. Grant a batch of internal groups read access to a data app's resource collection atomically.
ee.postAppsBySlugGroups
- Post Apps Generate ActionsRead-only
Pro/Enterprise only. The YAML files of the implicit actions a data app defines, one per `defineAction` export in `actions`, in its collection with the entity ID `collection`.
ee.postAppsGenerateActions
- Post Apps Generate QueriesRead-only
Pro/Enterprise only. The YAML files of the questions a data app defines, one per `defineQuery` export in `queries`, in its collection with the entity ID `collection`.
ee.postAppsGenerateQueries
- Post Audit App Analytics Dev ExportRead-only
Pro/Enterprise only. Export analytics content as a .tar.gz file for local development.
ee.postAuditAppAnalyticsDevExport
- Post Content Diagnostics InvalidateWrite
Pro/Enterprise only. Dismiss the findings with `ids`.
ee.postContentDiagnosticsInvalidate
- Post Custom Viz PluginDestructive
Pro/Enterprise only. Register a new custom visualization plugin from an uploaded tar.gz bundle.
ee.postCustomVizPlugin
- Post Custom Viz Plugin By Id RefreshDestructive
Pro/Enterprise only. Re-fetch the manifest from the dev server for a dev-only plugin.
ee.postCustomVizPluginByIdRefresh
- Post Custom Viz Plugin DevDestructive
Pro/Enterprise only. Register a dev-only custom visualization plugin from a local dev server.
ee.postCustomVizPluginDev
- Post Data Studio Table Publish TablesDestructive
Pro/Enterprise only. Set collection for each of selected tables and all upstream dependencies recursively.
ee.postDataStudioTablePublishTables
- Post Data Studio Table Unpublish TablesDestructive
Pro/Enterprise only. Unset collection for each of selected tables and all downstream dependents recursively.
ee.postDataStudioTableUnpublishTables
- Post Gsheets ConnectionWrite
Pro/Enterprise only. Hook up a new google drive folder or sheet that will be watched and have its content ETL'd into Metabase.
ee.postGsheetsConnection
- Post Mfa EnrollDestructive
Pro/Enterprise only. Start TOTP enrollment for the current user.
ee.postMfaEnroll
- Post Mfa Enroll ConfirmDestructive
Pro/Enterprise only. Confirm TOTP enrollment by verifying a code from the authenticator app.
ee.postMfaEnrollConfirm
- Post Mfa Recovery CodesDestructive
Pro/Enterprise only. Regenerate the current user's recovery codes, invalidating the entire previous set.
ee.postMfaRecoveryCodes
- Post Remote Sync Create BranchDestructive
Pro/Enterprise only. Create a new branch from the current remote-sync branch and switches the current remote-sync branch to it.
ee.postRemoteSyncCreateBranch
- Post Remote Sync Current Task CancelDestructive
Pro/Enterprise only. Cancels the current task if one is running
ee.postRemoteSyncCurrentTaskCancel
- Post Remote Sync ExportDestructive
Pro/Enterprise only. Export the current state of the Remote Sync collection to a Source.
ee.postRemoteSyncExport
- Post Remote Sync ImportDestructive
Pro/Enterprise only. Import Metabase content from configured Remote Sync source.
ee.postRemoteSyncImport
- Post Remote Sync StashDestructive
Pro/Enterprise only. Stashes changes to a new branch, and changes the current branch to it.
ee.postRemoteSyncStash
- Post Remote Sync Test ConnectionRead-only
Pro/Enterprise only. Test whether the Remote Sync credentials can reach the git repository.
ee.postRemoteSyncTestConnection
- Post Replacement Check Replace SourceRead-only
Pro/Enterprise only. Check whether a source entity can be replaced by a target entity.
ee.postReplacementCheckReplaceSource
- Post Replacement Replace Model With TransformDestructive
Pro/Enterprise only. Create a transform from a model, execute it, and replace all usages of the model with the output table.
ee.postReplacementReplaceModelWithTransform
- Post Replacement Replace SourceDestructive
Pro/Enterprise only. Replace all usages of a source entity with a target entity asynchronously.
ee.postReplacementReplaceSource
- Post Replacement Runs By Id CancelDestructive
Pro/Enterprise only. Cancel a running source replacement.
ee.postReplacementRunsByIdCancel
- Post Security Center AcknowledgeWrite
Pro/Enterprise only. Acknowledge multiple security advisories.
ee.postSecurityCenterAcknowledge
- Post Security Center By Advisory Id AcknowledgeWrite
Pro/Enterprise only. Acknowledge a security advisory.
ee.postSecurityCenterByAdvisoryIdAcknowledge
- Post Security Center SyncWrite
Pro/Enterprise only. Trigger an async advisory sync + re-evaluation.
ee.postSecurityCenterSync
- Post Security Center Test NotificationDestructive
Pro/Enterprise only. Send a test notification through the given Security Center channels.
ee.postSecurityCenterTestNotification
- Post Session Management RevokeDestructive
Pro/Enterprise only. Revoke — end — every live session matching the given criteria, which are the filters the list endpoint takes.
ee.postSessionManagementRevoke
- Post Support Access GrantDestructive
Pro/Enterprise only. Create a new support access grant.
ee.postSupportAccessGrant
- Post TenantWrite
Pro/Enterprise only. Create a new Tenant
ee.postTenant
- Post Transform TestWrite
Pro/Enterprise only. Create a transform test.
ee.postTransformTest
- Post Transform Test By Id RunDestructive
Pro/Enterprise only. Run a transform test, which reading it is enough to do.
ee.postTransformTestByIdRun
- Post Transforms By Id Inspect By Lens Id QueryRead-only
Pro/Enterprise only. Execute a query in the context of a transform inspector lens.
ee.postTransformsByIdInspectByLensIdQuery
- Post Transforms Python Test RunDestructive
Pro/Enterprise only. Evaluate an ad-hoc python transform on a sample of input data.
ee.postTransformsPythonTestRun
- Put Ai Controls Mcp PermissionsDestructive
Pro/Enterprise only. Set the MCP tool policy of the given groups, in one transaction, and return the policy of every group.
ee.putAiControlsMcpPermissions
- Put Ai Controls PermissionsDestructive
Pro/Enterprise only. Update metabot permissions for all groups.
ee.putAiControlsPermissions
- Put Ai Controls Usage Group By Group IdWrite
Pro/Enterprise only. Set or update the metabot usage limit for a specific group.
ee.putAiControlsUsageGroupByGroupId
- Put Ai Controls Usage InstanceWrite
Pro/Enterprise only. Set or update the instance-wide metabot usage limit.
ee.putAiControlsUsageInstance
- Put Ai Controls Usage Tenant By Tenant IdWrite
Pro/Enterprise only. Set or update the metabot usage limit for a specific tenant.
ee.putAiControlsUsageTenantByTenantId
- Put Apps By SlugWrite
Pro/Enterprise only. Enable or disable a data app.
ee.putAppsBySlug
- Put Custom Viz Plugin By IdDestructive
Pro/Enterprise only. Update a custom visualization plugin.
ee.putCustomVizPluginById
- Put Custom Viz Plugin By Id BundleDestructive
Pro/Enterprise only. Replace the bundle for an existing plugin.
ee.putCustomVizPluginByIdBundle
- Put Custom Viz Plugin By Id Dev UrlDestructive
Pro/Enterprise only. Set or clear the dev base URL for a plugin (e.g.
ee.putCustomVizPluginByIdDevUrl
- Put Remote Sync SettingsWrite
Pro/Enterprise only. Update Remote Sync related settings.
ee.putRemoteSyncSettings
- Put Support Access Grant By Id RevokeDestructive
Pro/Enterprise only. Revoke an existing support access grant.
ee.putSupportAccessGrantByIdRevoke
- Put Tenant By IdDestructive
Pro/Enterprise only. Update a tenant, can set name, attributes, or whether this tenant is active.
ee.putTenantById
- Put Transform Test By IdWrite
Pro/Enterprise only. Update a transform test.
ee.putTransformTestById
Agent
- Get V1 PingRead-only
Health check endpoint for the Agent API.
agent.getV1Ping
- Post V1 CollectionWrite
Create a new Collection.
agent.postV1Collection
- Post V1 Construct Native QueryRead-only
Construct a native (raw SQL) query against a database.
agent.postV1ConstructNativeQuery
- Post V1 DashboardWrite
Create a new dashboard, optionally populated with saved questions.
agent.postV1Dashboard
- Post V1 ExecuteRead-only
Execute an MBQL query and return results.
agent.postV1Execute
- Post V1 Execute SqlDestructive
Execute a raw SQL query against a database.
agent.postV1ExecuteSql
- Post V1 MetricWrite
Save a previously constructed query as a named metric.
agent.postV1Metric
- Post V1 QuestionWrite
Save a previously constructed query as a named question (card).
agent.postV1Question
- Post V1 Question By Id QueryRead-only
Run a saved question (card) and return its results.
agent.postV1QuestionByIdQuery
- Post V1 Read ResourceRead-only
Read one or more Metabase resources via metabase:// URI patterns.
agent.postV1ReadResource
- Post V1 SearchRead-only
Search for tables, models, metrics, saved questions, dashboards, and collections.
agent.postV1Search
- Post V2 Construct QueryRead-only
Construct an MBQL query from a portable MBQL 5 representations JSON payload.
agent.postV2ConstructQuery
- Post V2 QueryRead-only
Execute a portable MBQL 5 representations JSON query and stream the results, with continuation-token pagination.
agent.postV2Query
- Put V1 Dashboard By IdWrite
Update a dashboard.
agent.putV1DashboardById
- Put V1 Metric By IdWrite
Update a saved metric.
agent.putV1MetricById
- Put V1 Question By IdWrite
Update a saved question (card).
agent.putV1QuestionById
Collections
- Candidates.ListRead-only
List collection questions eligible to move into dashboards
collections.candidates.list
- Candidates.MoveWrite
Move eligible collection questions into their dashboards
collections.candidates.move
- CreateWrite
Create a Metabase collection
collections.create
- DeleteDestructive
Permanently delete a collection
collections.delete
- GetRead-only
Get a collection by its numeric ID or NanoID
collections.get
- Items.ListRead-only
List items in a collection
collections.items.list
- Items.MetadataRead-only
Get model and count metadata for collection items
collections.items.metadata
- ListRead-only
List collections visible to the API key group
collections.list
- Root.Candidates.ListRead-only
List root questions eligible to move into dashboards
collections.root.candidates.list
- Root.Candidates.MoveWrite
Move eligible root questions into their dashboards
collections.root.candidates.move
- Root.GetRead-only
Get the virtual root collection
collections.root.get
- Root.Items.ListRead-only
List items visible at the collection root
collections.root.items.list
- Root.Items.MetadataRead-only
Get model and count metadata for root items
collections.root.items.metadata
- Trash.GetRead-only
Get the virtual trash collection
collections.trash.get
- TreeRead-only
Get the collection tree
collections.tree
- UpdateWrite
Update or move a collection
collections.update
Transform
- Delete By IdDestructive
Delete a transform.
transform.deleteById
- Delete By Id TableDestructive
Delete a transform's output table.
transform.deleteByIdTable
- GetRead-only
Get a list of transforms.
transform.get
- Get By IdRead-only
Get a specific transform.
transform.getById
- Get By Id Dag TransformsRead-only
Preview the transforms a DAG reprocess from this transform would run (see `POST /:id/run-dag`), in execution order.
transform.getByIdDagTransforms
- Get By Id DependenciesRead-only
Get the dependencies of a specific transform.
transform.getByIdDependencies
- Get RunRead-only
Get transform runs based on a set of filter params.
transform.getRun
- Get Run By Run IdRead-only
Get a transform run by ID.
transform.getRunByRunId
- Get RunsRead-only
Paginated unified run history: every row is a root run — a job run, a manual DAG-reprocess run, or a standalone transform run — never a member run of a job/DAG (those are listed by `GET /run` and the per-run `transform-runs` endpoints).
transform.getRuns
- PostWrite
Create a new transform.
transform.post
- Post By Id CancelDestructive
Cancel the current run for a given transform.
transform.postByIdCancel
- Post By Id Reset CheckpointDestructive
Reset the stored checkpoint for an incremental transform.
transform.postByIdResetCheckpoint
- Post By Id RunDestructive
Run a transform.
transform.postByIdRun
- Post By Id Run DagDestructive
Trigger a DAG-reprocess run starting from a single transform: runs the transform and every transform in its transitive dependency closure.
transform.postByIdRunDag
- Put By IdWrite
Update a transform.
transform.putById
Exploration
- Delete By IdDestructive
Hard-delete an exploration.
exploration.deleteById
- Get By IdRead-only
Fetch an exploration with its thread, selections, and generated queries.
exploration.getById
- Get DimensionsRead-only
Hydrated metrics plus a deduplicated dimension list, for the Exploration data modal.
exploration.getDimensions
- Get MineRead-only
Explorations the current user created or edited, most-recently-touched first, paginated.
exploration.getMine
- Get Query By IdRead-only
Stream the result of a single completed exploration query.
exploration.getQueryById
- PostWrite
Metabase POST /api/exploration
exploration.post
- Post By Id Explore FurtherDestructive
Start a follow-up investigation scoped to a clicked chart segment.
exploration.postByIdExploreFurther
- Post By Id Summary AppendWrite
Append a static `cardEmbed` representing a *composite chart* — built from one or more `ExplorationQuery` snapshots combined into a single qp-result — to the exploration's Summary document.
exploration.postByIdSummaryAppend
- Post Thread By Thread Id CancelDestructive
Cancel an in-flight exploration thread.
exploration.postThreadByThreadIdCancel
- Post Thread By Thread Id RestartDestructive
Re-run one exploration thread in place, keeping its selections: drops the thread's materialized queries and clears the terminal-state gates so the background planner re-claims it.
exploration.postThreadByThreadIdRestart
- Put By IdWrite
Update an exploration's metadata, archive state, or move it to a different collection.
exploration.putById
- Put Page By Id StarredWrite
Set whether an exploration page is starred.
exploration.putPageByIdStarred
- Put Pages HiddenWrite
Set whether one or more exploration pages are hidden from the sidebar.
exploration.putPagesHidden
Metric
- GetRead-only
Get a list of metrics.
metric.get
- Get By IdRead-only
Fetch a `Metric` with ID.
metric.getById
- Get By Id DimensionRead-only
List a metric's curated dimensions, and (when `with-addable=true`) the columns still available to add, grouped by source table.
metric.getByIdDimension
- Get By Id Dimension By Dimension Key RemappingRead-only
Fetch remapped value for a specific dimension value.
metric.getByIdDimensionByDimensionKeyRemapping
- Get By Id Dimension By Dimension Key SearchRead-only
Search for values of a dimension that contain the query string.
metric.getByIdDimensionByDimensionKeySearch
- Get By Id Dimension By Dimension Key ValuesRead-only
Fetch values for a dimension of a metric.
metric.getByIdDimensionByDimensionKeyValues
- Post Breakout ValuesRead-only
Fetch distinct breakout dimension values for a metric or measure definition.
metric.postBreakoutValues
- Post By Id Dimension AddWrite
Add dimensions to a metric.
metric.postByIdDimensionAdd
- Post By Id Dimension By Dimension KeyWrite
Update a metric dimension's `display_name`, `description`, `default_temporal_unit`, and/or source column.
metric.postByIdDimensionByDimensionKey
- Post By Id Dimension RemoveWrite
Remove dimensions (by UUID) from a metric.
metric.postByIdDimensionRemove
- Post By Id Dimension ReorderWrite
Persist a new ordering for a metric's dimensions.
metric.postByIdDimensionReorder
- Post By Id Dimension Set DefaultWrite
Mark exactly one dimension as the metric's default, clearing any previous default.
metric.postByIdDimensionSetDefault
- Post DatasetRead-only
Execute a metric or measure-based query and stream the results.
metric.postDataset
Metabot
- Get ConversationsRead-only
List conversations visible in the current user's history, most-recent first.
metabot.getConversations
- Get Conversations By IdRead-only
Return a single conversation with its flattened chat messages.
metabot.getConversationsById
- Get Conversations By Id TitleRead-only
Return the title generation status for a conversation.
metabot.getConversationsByIdTitle
- Get Permissions User PermissionsRead-only
Return the current user's resolved metabot permissions, taking the most permissive value across all their groups.
metabot.getPermissionsUserPermissions
- Post Conversations By Id ForkWrite
Fork a conversation at an assistant message, returning a brand-new conversation that copies the thread from the start up to and including that message.
metabot.postConversationsByIdFork
- Post Conversations By Id Saved EntityWrite
Save a Metabot-generated chart from this conversation as a card, stamping the card's origin columns in the same request — used by the inline chart's manual Save button, which runs outside any agent turn.
metabot.postConversationsByIdSavedEntity
- Post Document Generate ContentDestructive
Create a new piece of content to insert into the document.
metabot.postDocumentGenerateContent
- Post FeedbackWrite
Persist Metabot feedback.
metabot.postFeedback
- Post Metabot By Id Prompt Suggestions RegenerateDestructive
Remove any existing prompt suggestions for the Metabot with `id` and generate new ones.
metabot.postMetabotByIdPromptSuggestionsRegenerate
- Post Source FeedbackWrite
Persist Metabot source feedback.
metabot.postSourceFeedback
- Put Slack SettingsWrite
Update Metabot Slack settings atomically.
metabot.putSlackSettings
Transform Job
- GetRead-only
Get all transform jobs.
transformJob.get
- Get By Job IdRead-only
Get a transform job by ID.
transformJob.getByJobId
- Get By Job Id RunsRead-only
Get paginated run history for a transform job.
transformJob.getByJobIdRuns
- Get By Job Id Runs By Run Id Transform RunsRead-only
Get the transform runs that made up a specific job run.
transformJob.getByJobIdRunsByRunIdTransformRuns
- Get By Job Id TransformsRead-only
Get the transforms of job specified by the job's ID.
transformJob.getByJobIdTransforms
- PostWrite
Create a new transform job.
transformJob.post
- Post By Job Id RunDestructive
Run a transform job manually.
transformJob.postByJobIdRun
- Post By Job Id Runs By Run Id CancelDestructive
Cancel an in-progress job run and request cancellation of its still-running transforms.
transformJob.postByJobIdRunsByRunIdCancel
- Put ActiveWrite
Activate or deactivate every transform job.
transformJob.putActive
- Put By Job IdWrite
Update a transform job.
transformJob.putByJobId
Embed Theme
- Delete By IdDestructive
Delete an embedding theme.
embedTheme.deleteById
- GetRead-only
Fetch a list of all embedding themes.
embedTheme.get
- Get By IdRead-only
Fetch a single embedding theme by ID.
embedTheme.getById
- PostWrite
Create a new embedding theme.
embedTheme.post
- Post By Id CopyWrite
Copy an embedding theme.
embedTheme.postByIdCopy
- Post Seed DefaultsWrite
Seed default embedding themes on first call, using the payloads built by the frontend from the `METABASE_LIGHT_THEME` / `METABASE_DARK_THEME` constants.
embedTheme.postSeedDefaults
- Put By IdWrite
Update an embedding theme.
embedTheme.putById
Llm
- Delete Providers By KeyDestructive
Delete a provider connection.
llm.deleteProvidersByKey
- Get ModelsRead-only
List the models available from every configured connection, grouped by connection.
llm.getModels
- Get Provider TypesRead-only
List the provider types a connection can be created for, with the credential fields each one needs.
llm.getProviderTypes
- Get ProvidersRead-only
List the configured provider connections, with their secrets masked.
llm.getProviders
- Post Extract SourcesRead-only
Parse native query sources and return referenced tables and cards/models.
llm.postExtractSources
- Post ProvidersWrite
Create a provider connection.
llm.postProviders
- Put Providers By KeyWrite
Update a provider connection.
llm.putProvidersByKey
Measure
- GetRead-only
Fetch *all* `Measures`.
measure.get
- Get By IdRead-only
Fetch `Measure` with ID.
measure.getById
- Get By Id Dimension By Dimension Key RemappingRead-only
Fetch remapped value for a specific dimension value.
measure.getByIdDimensionByDimensionKeyRemapping
- Get By Id Dimension By Dimension Key SearchRead-only
Search for values of a dimension that contain the query string.
measure.getByIdDimensionByDimensionKeySearch
- Get By Id Dimension By Dimension Key ValuesRead-only
Fetch values for a dimension of a measure.
measure.getByIdDimensionByDimensionKeyValues
- PostWrite
Create a new `Measure`.
measure.post
- Put By IdWrite
Update a `Measure` with ID.
measure.putById
Action
- GetRead-only
Returns the actions the current user can read, unarchived unless `?archived=true`.
action.get
- Get By Action IdRead-only
Fetch an Action.
action.getByActionId
- Get PublicRead-only
Fetch a list of Actions with public UUIDs.
action.getPublic
- PostWrite
Create a new action.
action.post
- Post By Action Id Execute ValuesRead-only
Fetches the values for filling in execution parameters.
action.postByActionIdExecuteValues
- Post ExecuteDestructive
Execute the ad-hoc `action`, without saving it.
action.postExecute
Data Studio
- Post Table Discard ValuesWrite
Batch version of /table/:id/discard_values.
dataStudio.postTableDiscardValues
- Post Table EditWrite
Bulk updating tables.
dataStudio.postTableEdit
- Post Table Rescan ValuesWrite
Batch version of /table/:id/rescan_values.
dataStudio.postTableRescanValues
- Post Table SelectionRead-only
Gets information about selected tables
dataStudio.postTableSelection
- Post Table Sync SchemaWrite
Batch version of /table/:id/sync_schema.
dataStudio.postTableSyncSchema
Cache
- DeleteDestructive
Delete cache configurations.
cache.delete
- GetRead-only
Return cache configuration.
cache.get
- Post InvalidateWrite
Invalidate cache entries.
cache.postInvalidate
- PutWrite
Store cache configuration.
cache.put
Index
- GetRead-only
A transform's indexes: those physically in the warehouse, merged with its managed requests.
index.get
- Get Request By IdRead-only
Fetch a single index request (e.g.
index.getRequestById
- Post RequestWrite
Create an index request on a transform's target table.
index.postRequest
- Put Request By IdWrite
Replace the structured definition of an index request, marking it update-pending.
index.putRequestById
Notification
- Get AdminRead-only
List card-type notifications (alerts) for admin management.
notification.getAdmin
- Get Admin By IdRead-only
Get a single card-type notification with last_check, last_send, check_history (up to 10 most-recent terminal alert-type TaskRuns) and send_history (up to 10 most-recent channel-send delivery attempts).
notification.getAdminById
- PostDestructive
Create a new notification (alert or subscription), return the created notification. With email or Slack set up, Metabase can send it to its recipients right away.
notification.post
- Post Admin BulkWrite
Bulk-archive or -change-creator a set of notifications.
notification.postAdminBulk
Osi
- Get Ai ContextRead-only
Get all ai_context entries, paginated.
osi.getAiContext
- Get Ai Context By Entity Type By Entity Local IdRead-only
Get the ai_context entry for an entity by its logical `(entity_type, entity_local_id)` key.
osi.getAiContextByEntityTypeByEntityLocalId
- Post Ai Context ReconcileWrite
Force a reconcile of the library entity index against the application database, blocking until a reconcile covering this call finishes.
osi.postAiContextReconcile
- Put Ai Context By Entity Type By Entity Local IdWrite
Create or replace (upsert) the ai_context for an entity, addressed by its logical key.
osi.putAiContextByEntityTypeByEntityLocalId
Transform Tag
- Delete By Tag IdDestructive
Delete a transform tag.
transformTag.deleteByTagId
- GetRead-only
Get a list of all transform tags.
transformTag.get
- PostWrite
Create a new transform tag.
transformTag.post
- Put By Tag IdWrite
Update a transform tag.
transformTag.putByTagId
Dataset
- PostRead-only
Execute a query and retrieve the results in the usual format.
dataset.post
- Post By Export FormatRead-only
Execute a query and download the result data as a file in the specified format.
dataset.postByExportFormat
- Post PivotRead-only
Generate a pivoted dataset for an ad-hoc query
dataset.postPivot
Document
- Get PublicRead-only
List all Documents that have public links.
document.getPublic
- Post By Document Id Public LinkDestructive
Generate a publicly-accessible UUID for a Document.
document.postByDocumentIdPublicLink
- Post By From Document Id CopyWrite
Copy a Document.
document.postByFromDocumentIdCopy
Session
- Get Illustration By KeyRead-only
Fetch the uploaded image of a custom illustration setting, e.g.
session.getIllustrationByKey
- Post Mfa EnrollDestructive
Complete a two-step login by *enrolling* a second factor for the first time.
session.postMfaEnroll
- Post Mfa Send Email OtpDestructive
Email a one-time code as a fallback second factor (for a user who lost their authenticator but still has recovery codes disabled or unavailable).
session.postMfaSendEmailOtp
Task
- Get RunsRead-only
List task runs with optional filters.
task.getRuns
- Get Runs By IdRead-only
Get a single task run with all its child tasks.
task.getRunsById
- Get Runs EntitiesRead-only
Get distinct entities that have task runs for a given run type.
task.getRunsEntities
Timeline
- GetRead-only
Fetch a list of `Timeline`s.
timeline.get
- Get By IdRead-only
Fetch the `Timeline` with `id`.
timeline.getById
- PostWrite
Create a new [[Timeline]].
timeline.post
Collection Permissions
- Graph.GetRead-only
Read collection permission graph
collectionPermissions.graph.get
- Graph.UpdateDestructive
Replace collection permission graph entries
collectionPermissions.graph.update
Dashboard
- Post By Dashboard Id Dashcard By Dashcard Id Execute ValuesRead-only
Fetches the values for filling in execution parameters.
dashboard.postByDashboardIdDashcardByDashcardIdExecuteValues
- Post By Id PdfRead-only
Render Dashboard with ID to a PDF (server-side, the same way dashboard subscriptions render charts) and stream it back as a file download.
dashboard.postByIdPdf
Database
- Get By Id SchemasRead-only
Returns a list of all the schemas with tables found for the database `id`.
database.getByIdSchemas
- Get By Id Settings AvailableRead-only
Get all database-local settings and their availability for the given database.
database.getByIdSettingsAvailable
Slack
- Get App InfoRead-only
Returns the Slack app_id and team_id.
slack.getAppInfo
- Get ManifestRead-only
Returns the JSON manifest file that should be used to bootstrap new Slack apps
slack.getManifest
Transform Dag Run
- Get By Run Id Transform RunsRead-only
Get the transform runs that made up a specific DAG run.
transformDagRun.getByRunIdTransformRuns
- Post By Run Id CancelDestructive
Cancel an in-progress manual DAG run and request cancellation of its still-running transforms.
transformDagRun.postByRunIdCancel
User
- Get CurrentRead-only
Fetch the current `User`.
user.getCurrent
- Post By Id Password Reset UrlDestructive
Generate a password reset URL for a user.
user.postByIdPasswordResetUrl
Analytics
- Post InternalWrite
Receive a batch of internal analytics events from the frontend and record them as Prometheus metrics.
analytics.postInternal
Api Key
- Put By Id RegenerateDestructive
Regenerate an API Key
apiKey.putByIdRegenerate
Embedding Hub
- Get ChecklistRead-only
Get the setup guide checklist status, indicating which setup steps have been completed.
embeddingHub.getChecklist
Embedding Sdk
- Get React18 HostsRead-only
The host apps that used the React embedding SDK with React 18 in the last 4 days, newest first, at most 50.
embeddingSdk.getReact18Hosts
Eval Trace
- Get By Session IdRead-only
Return the captured eval trace as JSONL (one span per line) for `session-id`.
evalTrace.getBySessionId
Field
- Post Table IdsRead-only
Get unique Table IDs for a list of Field IDs.
field.postTableIds
Health Inspector
- GetRead-only
Get a list of recent health check runs.
healthInspector.get
Logger
- Get PresetsRead-only
Get all known presets.
logger.getPresets
Oauth
- Get AuthorizationsRead-only
List OAuth dynamic client registration events (registered, approved, or denied), newest first.
oauth.getAuthorizations
Permissions
- Get Invite Group IdsRead-only
IDs of the permission groups holding a stored read (or read-write) grant on the collection of a shareable item (a `dashboard` or a `question`).
permissions.getInviteGroupIds
Preview Embed
- Get Card By Token Params By Param Key ValuesRead-only
Embedded version of api.card filter values endpoint.
previewEmbed.getCardByTokenParamsByParamKeyValues
Public
- Post Dashboard By Uuid Dashcard By Dashcard Id Execute ValuesRead-only
Fetches the values for filling in execution parameters.
public.postDashboardByUuidDashcardByDashcardIdExecuteValues
Table
- Put By Id Fields OrderWrite
Reorder fields
table.putByIdFieldsOrder
Connect Metabase to Claude, ChatGPT or Cursor
- 1
Connect Metabase in Corsair
Add your Metabase API key once in Corsair. Corsair stores the credential encrypted and makes the Metabase API calls for your agent, so it never goes into a prompt or a config file. Connect Metabase
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Metabase. On a ChatGPT personal plan, connect Metabase here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Metabase's read and write operations run right away and its 66 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/metabase, add the Metabase plugin, and connect with an API key. Then call methods like corsair.metabase.api.action.get() from your app. Corsair keeps each tenant isolated.
Yes. Metabase requires an API key from your Metabase account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Metabase, GitHub, Notion, Stripe, and the rest. Trigger Metabase from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for work with Metabase's documented REST API for collections, queries, permissions, people, embedding, and administration. Common builds include sync jobs, admin tooling, and agents that call Metabase APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Metabase API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/metabase in the open repo. When Metabase ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Metabase data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Metabase data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Metabase on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 66 destructive Metabase operations. You can change a link's mode at hub.corsair.dev/me.