matih.ai
MCP server giving AI clients governed SQL, metrics, lineage and catalog access to your
matih.ai is an MCP server for analytics and data. It can run locally on your machine or as a hosted remote server.
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally or Remotely
- What it can do
- Can change data (7 tools)
- Version
- 0.2.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http mcp https://mcp.matih.ai/api/v1/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.matih.ai/api/v1/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.matih.ai/api/v1/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://mcp.matih.ai/api/v1/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.matih.ai/api/v1/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.matih.ai/api/v1/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add mcp --url https://mcp.matih.ai/api/v1/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
url = "https://mcp.matih.ai/api/v1/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.matih.ai/api/v1/mcpEnter a Name (for example "matih.ai"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.matih.ai/api/v1/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "httpUrl": "https://mcp.matih.ai/api/v1/mcp" } } }Or run: gemini mcp add -s user --transport http mcp https://mcp.matih.ai/api/v1/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "serverUrl": "https://mcp.matih.ai/api/v1/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "url": "https://mcp.matih.ai/api/v1/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "type": "streamableHttp", "url": "https://mcp.matih.ai/api/v1/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "url": "https://mcp.matih.ai/api/v1/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "url": "https://mcp.matih.ai/api/v1/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "url": "https://mcp.matih.ai/api/v1/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "url": "https://mcp.matih.ai/api/v1/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MATIH_MCP_TOKENMatih developer token (mat_agt_…), minted in Settings → Developer Tokens. Bearer credential, scoped to your connections + tools.Required
About matih.ai
Matih's MCP server lets an AI client such as Claude Desktop, Cursor or ChatGPT work directly against a Matih data workspace. Instead of pasting schemas into a prompt, the model can browse connections, tables and columns, profile a table, and run SQL or analyses that Matih executes on the user's behalf.
Beyond querying, the server exposes the semantic layer: governed metrics, a glossary, an ontology with entity relationships, and taxonomy exports. Charts, dashboards and file uploads are also reachable through the same tools. Each token is limited to the connections and capabilities granted in Matih settings, and the server runs as a local stdio bridge to a remote HTTP endpoint or connects over streamable HTTP directly.
The server suits data teams and developers who want an assistant to answer questions from governed definitions rather than ad hoc queries. Calls to third-party LLMs require the tenant to accept a data-processing agreement first.
Tools this server provides (16)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 7 of 16 tools change data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- ask
- Natural-language question to grounded answer and the SQL it ran.
- run_sqlName suggests: changes
- Runs a SQL query against a connection.
- run_analysisName suggests: changes
- Runs an analysis on data.
- profile_table
- Profiles a table.
- describe_tableName suggests: reads
- Describes a table.
- list_tablesName suggests: reads
- Lists tables.
- get_metricName suggests: reads
- Gets a governed metric.
- run_metricName suggests: changes
- Runs a governed metric.
- draft_metric
- Proposes a draft metric definition for review.
- explore_graph
- Explores the ontology graph.
- create_chartName suggests: changes
- Creates a chart.
- create_dashboardName suggests: changes
- Creates a dashboard.
- publish_dashboardName suggests: changes
- Publishes a dashboard.
- upload_fileName suggests: changes
- Uploads a file.
- whoami
- Returns the identity of the token holder.
- get_scopeName suggests: reads
- Shows what a token allows.
What it does
- Governed SQL execution
- Runs SQL and analyses against connected data sources and returns results the assistant can read.
- Table profiling and catalog
- Lists connections, schemas and tables and profiles or describes them for the model.
- Governed metrics
- Fetches and runs approved metric definitions and proposes new drafts into a human review workflow.
- Ontology and lineage access
- Searches entities and relationships and exposes catalog and lineage resources.
- Charts and dashboards
- Creates charts and dashboards and publishes them from within the AI client.
- Token-scoped access
- Every call is bounded by the developer token's connections and granted capabilities.
Good for
- Asking natural-language questions of a warehouse and getting the SQL behind each answer
- Exploring unfamiliar tables and their relationships before writing queries
- Running approved metrics inside a chat without redefining them
- Generating charts and dashboards from an assistant conversation
- Uploading files into a Matih workspace for analysis
matih.ai FAQ
How is the server installed?
Add the @matihlabs/mcp npm package to the client's MCP config with the workspace endpoint and a Matih developer token passed as an environment variable.
Where do I get a token?
Developer tokens are created under Settings, then Developer Tokens in the Matih app and start with mat_agt_.
What happens if my tenant has not accepted the data agreement?
Calls return an EGRESS_CONSENT_REQUIRED error with a link to accept the agreement.
What does Node version does matih.ai need?
Node 20 or later.
How do I add matih.ai to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp https://mcp.matih.ai/api/v1/mcp
What are the best alternatives to matih.ai?
The closest alternatives to matih.ai are Metabase, Dataassist IO, Metabase Ai Assistant, AgenticBI and MCP Datahub.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.