How to Use the Mode Analytics MCP in Claude Code
Run Mode Analytics reports and audit SQL pipelines straight from your terminal using Claude Code CLI commands.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Mode Analytics MCP to Claude Code
Create your Vinkius account to connect Mode Analytics to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automate report pipelines via Claude Code
The `run_mode_report` tool, acting as a core MCP utility, triggers data runs directly from your command-line interface. By combining this with `get_mode_report_run`, you can script automated checks that verify if your pipelines succeeded. This replaces complex API curl commands in your bash scripts. You can pipe the terminal output directly into downstream systems or trigger alerts if a critical run fails.
Query workspace status and account details
The `get_mode_account` tool retrieves the authenticated connection details to verify your API credentials. To audit system access, the CLI agent calls `list_mode_members` to dump the list of active users. This makes compliance audits fast and scriptable. You can verify who has access to your data spaces without opening a browser or digging through complex admin consoles.
Inspect SQL assets using this terminal MCP Server
The `list_mode_queries` tool dumps the SQL statements of any report directly into your stdout stream. For deeper debugging, the agent uses `list_mode_definitions` to print calculated field logic directly to your console. You get raw, unformatted text that you can grep, diff, or redirect into local SQL files. It simplifies tracing data lineage and debugging broken database queries from your terminal.
Set up Mode Analytics MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seemode-analytics-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Mode Analytics transactions." It will automatically discover and invoke the available Mode Analytics tools.
claude mcp add --transport http mode-analytics-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Mode Analytics MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Mode Analytics MCP today
We host it, we monitor it, we maintain it. You just paste one token.