MCP Server
MetricChat provides an MCP server that enables Claude Desktop, Cursor, and other MCP-compatible clients to query your data sources.
MetricChat provides an MCP (Model Context Protocol) server that enables Claude Desktop, Cursor, and other MCP-compatible clients to query your data sources using natural language.
Available Tools
The MCP server exposes six tools:
| Tool | Description |
|---|---|
create_report | Start an analysis session with auto-attached data sources |
get_context | Retrieve available data sources, tables, and metadata with regex filtering |
inspect_data | Quick data exploration returning 3-row samples for validation |
create_data | Generate tracked visualizations (charts/tables) saved to reports |
list_instructions | View organizational knowledge guiding AI behavior |
create_instruction | Create new AI guidance with auto-versioning and approval workflows |
Setup
1. Enable MCP Server
Navigate to Settings > Integrations and toggle the MetricChat MCP Server on.
2. Generate Access Token
Click Regenerate Token to create authentication credentials.
Security: Keep your access token secure. Anyone with this token can query your data sources through the MCP server.
3. Configure Your Client
{
"mcpServers": {
"metricchat": {
"url": "https://YOUR_DOMAIN/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Client-Specific Setup
Claude Desktop Add configuration to:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor Enable MCP settings within the IDE and add the configuration.
Custom Clients Use the standard MCP protocol with the provided credentials.
MCP Reports
Reports created through MCP connections are marked with an MCP icon for identification. Tool usage is fully tracked, but LLM prompt content is not saved — preserving user privacy while maintaining query transparency.
Token Management
- View active tokens with creation dates
- Regenerate new tokens at any time
- Revoke outdated credentials from the settings panel
Use Cases
- Claude Desktop — Query customer data, analyze trends, examine product metrics
- Cursor — Validate data during development, generate test datasets, debug data issues
- Custom workflows — Build automated analysis pipelines using MCP protocol