About Metabase Server
Metabase Server is an MCP server published by easecloudio in the Developer Tools category: a comprehensive MCP server for Metabase with 70+ tools. Conduid read 95 tools from its source: add_card_to_dashboard, add_sample_database, add_text_block, append_csv_to_table, check_database_health, copy_card and 89 more. It is published to npm as @easecloudio/mcp-metabase-server and starts with npx.
The repository has 83 stars and 25 forks, is licensed MIT, and its last commit was on 10 Nov 2026. The latest release is v1.3.0 (14 May 2026): What's Changed chore: bump version to 1.3.0 (464fc93) feat: add 31 new tools across dashboard, card, database, table domains (64→96 tools) (f52e70e) docs: update npm des… It follows v1.2.0 (14 May 2026), and the 5 most recent releases go back to v1.0.3 (27 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include metabase, analytics and business-intelligence.
Install
claude mcp add metabase-server -- npx @easecloudio/mcp-metabase-servernpx @easecloudio/mcp-metabase-servergit clone https://github.com/easecloudio/mcp-metabase-serverTools (95)
add_card_to_dashboardAdd a card with positioning| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to add |
| col | number | Column position (0-based) |
| dashboard_id * | number | ID of the dashboard |
| dashboard_tab_id | number | ID of the dashboard tab to place this card on. Omit for dashboards without tabs. |
| parameter_mappings | array | Parameter mappings between dashboard and card |
| row | number | Row position (0-based) |
| size_x | number | Width in grid units |
| size_y | number | Height in grid units |
| visualization_settings | object | Visualization settings for the card on this dashboard |
add_sample_databaseAdd the built-in H2 sample database with demo dataadd_text_blockAdd a text or heading block to a dashboard| Parameter | Type | Description |
|---|---|---|
| col | number | Column position (0-based) |
| dashboard_id * | number | ID of the dashboard |
| row | number | Row position (0-based) |
| size_x | number | Width in grid units |
| size_y | number | Height in grid units |
| text * | string | Text content for the block |
| visualization_settings | object | Additional visualization settings (e.g. { "text.align_horizontal": "left" }) |
append_csv_to_tableAppend new rows from CSV content| Parameter | Type | Description |
|---|---|---|
| csv_content * | string | Raw CSV text to append |
| table_id * | number | ID of the table |
check_database_healthCheck connection health| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
copy_cardDuplicate a card| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to copy |
| collection_id | number | Collection to place the copy in |
| name | string | Name for the copy (defaults to 'Copy of <original>') |
copy_dashboardDuplicate a dashboard (shallow or deep copy)| Parameter | Type | Description |
|---|---|---|
| collection_id | number | Collection to place the copy in |
| dashboard_id * | number | ID of the dashboard to copy |
| is_deep_copy | boolean | Copy underlying cards too (default: false = shallow copy) |
| name | string | Name for the copy |
create_cardCreate a new question| Parameter | Type | Description |
|---|---|---|
| collection_id | number | Optional ID of the collection to save the card in |
| dataset_query * | object | The query for the card (e.g., MBQL or native query) |
| description | string | Optional description for the card |
| display * | string | Display type (e.g., 'table', 'line', 'bar') |
| name * | string | Name of the card |
| visualization_settings * | object | Settings for the visualization |
create_card_public_linkCreate a public sharing link| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to share |
create_collectionCreate a new collection| Parameter | Type | Description |
|---|---|---|
| color | string | Color of the collection |
| description | string | Description of the collection |
| name * | string | Name of the collection |
| parent_id | number | Parent collection ID (null for root level) |
create_dashboardCreate a new dashboard| Parameter | Type | Description |
|---|---|---|
| collection_id | number | Optional ID of the collection to save the dashboard in |
| description | string | Optional description for the dashboard |
| name * | string | Name of the dashboard |
| parameters | array | Optional parameters for the dashboard |
create_dashboard_public_linkCreate a public sharing link| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard to share |
create_database_connectionCreate a new database connection| Parameter | Type | Description |
|---|---|---|
| auto_run_queries | boolean | Whether to auto-run queries |
| details * | object | Connection details (host, port, dbname, user, etc.) |
| engine * | string | Database engine (e.g., 'postgres', 'mysql', 'h2') |
| is_full_sync | boolean | Whether to perform full schema sync |
| name * | string | Name of the database connection |
create_permission_groupCreate a new permission group| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the permission group |
create_userCreate a new user| Parameter | Type | Description |
|---|---|---|
| email * | string | User's email address |
| first_name * | string | User's first name |
| group_ids | array | Array of group IDs to assign user to |
| last_name * | string | User's last name |
| password | string | User's password |
delete_cardDelete / archive a question| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to delete |
| hard_delete | boolean | Set to true for hard delete, false (default) for archive |
delete_card_public_linkRemove the public link| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
delete_collectionDelete a collection and its contents| Parameter | Type | Description |
|---|---|---|
| collection_id * | number | ID of the collection to delete |
delete_dashboardDelete / archive a dashboard| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard to delete |
| hard_delete | boolean | Set to true for hard delete, false (default) for archive |
delete_dashboard_public_linkRemove the public link| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
delete_databasePermanently remove a database connection| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database to delete |
discard_table_field_valuesDiscard cached field values| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
execute_cardRun a card and return results| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card/question to execute |
| parameters | object | Optional parameters for the query |
execute_dashboard_cardExecute a specific dashcard and return results| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
| dashboard_id * | number | ID of the dashboard |
| dashcard_id * | number | ID of the dashcard |
| parameters | array | Optional parameters to pass to the query |
execute_pivot_card_queryRun a card formatted as a pivot table| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to execute |
| parameters | array | Optional parameters for the query |
execute_queryExecute a SQL query against a database| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database to query |
| native_parameters | array | Optional parameters for the query |
| query * | string | SQL query to execute |
export_card_resultExport results as CSV or JSON| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to export |
| format | string | Export format |
| parameters | array | Optional query parameters |
favorite_dashboardMark a dashboard as a favourite| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_cardGet a card by ID (includes full SQL / MBQL query)| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card to retrieve |
get_card_dashboardsList dashboards containing this card| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
get_card_param_remappingGet how parameter values are remapped for display| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
| param_id * | string | The parameter ID/slug |
| value * | string | The raw value to remap |
get_card_param_valuesGet available values for a card parameter| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
| param_id * | string | The parameter ID/slug |
get_card_query_metadataGet column types and display names| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
get_card_seriesGet series data or related card suggestions| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
get_card_table_fksGet FK relationships for a card's virtual table| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card (question) |
get_card_table_query_metadataGet query metadata for a card's virtual table| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card (question) |
get_collectionGet collection details| Parameter | Type | Description |
|---|---|---|
| collection_id * | any | ID of the collection (use 'root' for root collection) |
get_collection_itemsList cards, dashboards, and sub-collections| Parameter | Type | Description |
|---|---|---|
| collection_id | number | ID of the collection (omit or use null for root) |
| models | array | Filter by content type |
get_dashboardGet a specific dashboard by ID| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_dashboard_cardsGet all cards in a dashboard| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_dashboard_queriesExtract all card queries with resolved field IDs| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_dashboard_relatedGet related content suggestions| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_dashboard_revisionsGet revision history (audit trail)| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
get_databaseGet a specific database by ID| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
get_database_metadataGet full metadata including all tables and field IDs| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
get_database_schemaGet schema information| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
get_database_sync_statusCheck sync status| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
get_database_tablesGet all tables in a database| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
get_field_idLook up a field ID by table ID + column name (returns MBQL ref)| Parameter | Type | Description |
|---|---|---|
| field_name * | string | Column name to look up (case-insensitive) |
| table_id * | number | ID of the table |
get_schema_cacheReturn cached schema (auto-fetches if missing or stale)| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the Metabase database to get schema for |
get_tableGet table metadata by ID| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
get_table_dataGet a sample data preview from a table| Parameter | Type | Description |
|---|---|---|
| limit | number | Max rows to return (default: 10) |
| table_id * | number | ID of the table |
get_table_fksGet foreign key relationships| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
get_table_metadataGet full query metadata including field IDs and types| Parameter | Type | Description |
|---|---|---|
| include_sensitive_fields | boolean | Include sensitive fields (default: false) |
| table_id * | number | ID of the table |
get_table_relatedFind related tables via FK relationships| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
list_cardsList all questions / cards| Parameter | Type | Description |
|---|---|---|
| attributes | array | Optional list of attributes to return for each card. If omitted, returns default attributes: ${DEFAULT_CARD_ATTRIBUTES.join(", ")}. Excludes heavy fields like result_metadata, visualization_settings, dataset_query, creator, collection, and last-edit-info by default. |
list_collectionsList all collections| Parameter | Type | Description |
|---|---|---|
| archived | boolean | Include archived collections |
list_dashboardsList all dashboardslist_database_schemasList all schemas within a database| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database |
list_databasesList all database connectionslist_embeddable_cardsList cards enabled for embeddinglist_embeddable_dashboardsList dashboards enabled for embeddinglist_permission_groupsList all permission groupslist_public_cardsList cards with public linkslist_public_dashboardsList dashboards with public linkslist_tablesList tables (optionally filtered by database)| Parameter | Type | Description |
|---|---|---|
| database_id | number | Optional: filter tables by database ID |
list_usersList all users| Parameter | Type | Description |
|---|---|---|
| include_deactivated | boolean | Include deactivated users |
move_cardsMove one or more cards to a different collection| Parameter | Type | Description |
|---|---|---|
| card_ids * | array | IDs of the cards to move |
| collection_id * | any | ID of the destination collection, or null for root |
move_cards_to_collectionBulk-move cards from a source collection| Parameter | Type | Description |
|---|---|---|
| collection_id * | number | ID of the destination collection |
| source_collection_id | number | If provided, only move cards from this collection |
move_to_collectionMove a card or dashboard to a different collection| Parameter | Type | Description |
|---|---|---|
| collection_id * | any | Destination collection ID (null for root) |
| id * | number | ID of the card or dashboard |
| model * | string | Type of item to move |
refresh_schema_cacheForce-refresh cache for one or all databases| Parameter | Type | Description |
|---|---|---|
| database_id | number | ID of the database to refresh. Omit to refresh all cached databases. |
remove_card_from_dashboardRemove a card| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
| dashcard_id * | number | ID of the dashboard card (not the card itself) |
reorder_table_fieldsChange the display order of fields| Parameter | Type | Description |
|---|---|---|
| field_order * | array | Ordered list of field IDs representing the desired display order |
| table_id * | number | ID of the table |
replace_table_csvReplace all table data with new CSV content| Parameter | Type | Description |
|---|---|---|
| csv_content * | string | Raw CSV text to replace table data with |
| table_id * | number | ID of the table |
rescan_table_field_valuesRescan field values (updates filter dropdowns)| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
revert_dashboardRevert to a previous revision| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
| revision_id * | number | ID of the revision to revert to |
save_dashboardSave a complete dashboard object with nested data| Parameter | Type | Description |
|---|---|---|
| dashboard * | object | The full dashboard object to save |
| dashboard_id * | number | ID of the dashboard to save |
save_dashboard_to_collectionMove a dashboard into a specific collection| Parameter | Type | Description |
|---|---|---|
| collection_id * | any | ID of the target collection, or null for root collection |
| dashboard_id * | number | ID of the dashboard |
search_card_param_valuesSearch / filter parameter values| Parameter | Type | Description |
|---|---|---|
| card_id * | number | ID of the card |
| param_id * | string | The parameter ID/slug |
| query * | string | Search term to filter values |
search_contentSearch across all Metabase content| Parameter | Type | Description |
|---|---|---|
| models | array | Filter by content types |
| query * | string | Search query |
search_dashboardsSearch dashboards by name or description| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query string |
sync_database_schemaTrigger a schema metadata sync| Parameter | Type | Description |
|---|---|---|
| database_id * | number | ID of the database to sync |
sync_table_schemaTrigger a schema sync for a specific table| Parameter | Type | Description |
|---|---|---|
| table_id * | number | ID of the table |
test_database_connectionTest an existing connection| Parameter | Type | Description |
|---|---|---|
| connection_details | object | Connection details to test (optional) |
| database_id | number | ID of the database to test |
unfavorite_dashboardRemove a dashboard from favourites| Parameter | Type | Description |
|---|---|---|
| dashboard_id * | number | ID of the dashboard |
update_cardUpdate an existing question| Parameter | Type | Description |
|---|---|---|
| archived | boolean | Set to true to archive the card |
| card_id * | number | ID of the card to update |
| collection_id | number | New collection ID |
| dataset_query | object | New query for the card |
| description | string | New description |
| display | string | New display type |
| name | string | New name for the card |
| visualization_settings | object | New visualization settings |
update_collectionUpdate name, description, color, or parent| Parameter | Type | Description |
|---|---|---|
| collection_id * | number | ID of the collection |
| color | string | Hex color e.g. #31698A |
| description | string | |
| name | string | New name |
| parent_id | number | New parent collection ID |
update_dashboardUpdate an existing dashboard| Parameter | Type | Description |
|---|---|---|
| archived | boolean | Set to true to archive the dashboard |
| collection_id | number | New collection ID |
| dashboard_id * | number | ID of the dashboard to update |
| description | string | New description for the dashboard |
| name | string | New name for the dashboard |
| parameters | array | New parameters for the dashboard |
| tabs | array | Dashboard tabs. Array of { id, name, position } objects. For new tabs use negative id (-1, -2, ...). Server assigns real ids on save. When this field is provided, routed via PUT /api/dashboard/:id/cards bulk endpoint to preserve existing cards. |
update_dashboard_cardUpdate card position, size, and settings| Parameter | Type | Description |
|---|---|---|
| col | number | New column position |
| dashboard_id * | number | ID of the dashboard |
| dashboard_tab_id | number | Move this card to the specified dashboard tab. Omit to leave tab unchanged. |
| dashcard_id * | number | ID of the dashboard card |
| parameter_mappings | array | Updated parameter mappings |
| row | number | New row position |
| size_x | number | New width in grid units |
| size_y | number | New height in grid units |
| visualization_settings | object | Updated visualization settings |
update_dashboard_cardsBulk-replace all cards on a dashboard| Parameter | Type | Description |
|---|---|---|
| cards * | array | Array of dashcard objects to replace the current layout |
| dashboard_id * | number | ID of the dashboard |
update_dashcardUpdate a specific dashcard's properties| Parameter | Type | Description |
|---|---|---|
| col | number | New column position |
| dashboard_id * | number | ID of the dashboard |
| dashcard_id * | number | ID of the dashcard to update |
| parameter_mappings | array | Updated parameter mappings |
| row | number | New row position |
| size_x | number | New width in grid units |
| size_y | number | New height in grid units |
| visualization_settings | object | Updated visualization settings |
update_databaseUpdate a database connection's config or credentials| Parameter | Type | Description |
|---|---|---|
| auto_run_queries | boolean | Whether to auto-run queries |
| database_id * | number | ID of the database to update |
| details | object | Connection details to update |
| engine | string | Database engine (e.g., 'postgres', 'mysql') |
| name | string | New name for the database connection |
| refingerprint | boolean | Whether to re-fingerprint the database |
| schedules | object | Sync schedules configuration |
update_tableUpdate display name, description, or visibility| Parameter | Type | Description |
|---|---|---|
| description | string | Table description |
| display_name | string | New display name |
| table_id * | number | ID of the table |
| visibility_type | string | Table visibility in the UI |
update_tablesBulk-update multiple tables with the same config| Parameter | Type | Description |
|---|---|---|
| description | string | Description for all specified tables |
| display_name | string | New display name for all specified tables |
| table_ids * | array | List of table IDs to update |
| visibility_type | string | Visibility type for all specified tables |
validate_databaseValidate connection settings before saving| Parameter | Type | Description |
|---|---|---|
| details * | object | Connection details to validate |
| engine * | string | Database engine (postgres, mysql, etc.) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.9K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 15 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/server.ts:6
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 3 callssrc/client/metabase-client.ts:28, src/server.ts:114, src/server.ts:159
- Writes or deletes files
- 4 callssrc/cache/schema-cache.ts:87, src/cache/schema-cache.ts:91, src/cache/schema-cache.ts:92
- Lockfile
- package-lock.json
Pattern matches on the source text of 15 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.9K words, fetched a month ago. The original in the repository is authoritative.
Read full README