Helicone MCP Server

Query Helicone LLM request logs and sessions, and send chat calls through the Helicone AI Gateway

Official · Helicone TypeScript Local · stdio DevOps and monitoringAI and ML

54 popularity score ★ 6.3k ↓ 198/wk

Connect your client

Local (npm)

Add in one click

Opens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.

Or add it by command or config

It needs HELICONE_API_KEY. Replace each <NAME> with your value.

Claude CodeTerminal
claude mcp add helicone -e HELICONE_API_KEY=<HELICONE_API_KEY> -- npx @helicone/mcp@latest
Claude Desktopclaude_desktop_config.json
{
  "mcpServers": {
    "helicone": {
      "command": "npx",
      "args": [
        "@helicone/mcp@latest"
      ],
      "env": {
        "HELICONE_API_KEY": "<HELICONE_API_KEY>"
      }
    }
  }
}
Cursor~/.cursor/mcp.json
{
  "mcpServers": {
    "helicone": {
      "command": "npx",
      "args": [
        "@helicone/mcp@latest"
      ],
      "env": {
        "HELICONE_API_KEY": "<HELICONE_API_KEY>"
      }
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "helicone": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@helicone/mcp@latest"
      ],
      "env": {
        "HELICONE_API_KEY": "<HELICONE_API_KEY>"
      }
    }
  }
}
Codex~/.codex/config.toml
[mcp_servers.helicone]
command = "npx"
args = ["@helicone/mcp@latest"]

[mcp_servers.helicone.env]
HELICONE_API_KEY = "<HELICONE_API_KEY>"
Gemini CLITerminal
gemini mcp add --scope user -e HELICONE_API_KEY=<HELICONE_API_KEY> helicone npx -- @helicone/mcp@latest

Settings 1

HELICONE_API_KEY Required: Helicone API key (sk-helicone-...) from Settings, API Keys; the server exits without it.

What it does

Helicone is an observability platform that records the calls an application makes to large language models: prompts, responses, cost, latency, errors and custom properties. This server, published by Helicone from the helicone-mcp folder of its main repository, gives an assistant read access to that record through your Helicone API key, so you can ask it to find failing requests, slow or expensive calls, or the steps of one conversation without opening the dashboard.

It has three tools, not the two its README lists. query_requests searches logged requests with Helicone's filter syntax (model, provider, status, cost, latency, user, custom properties, AND/OR combinations), sorts and pages them, returning 100 rows by default and fetching request and response bodies only when includeBodies is set. query_sessions finds sessions within a required time window. The third, use_ai_gateway, is registered in src/index.ts but missing from the README: it posts an OpenAI-format chat completion to ai-gateway.helicone.ai, so the assistant can call models from OpenAI, Anthropic, Google and others through Helicone and have the call logged with an optional session id, user id and custom properties.

The server runs locally over stdio and talks to Helicone's hosted API; it is aimed at teams already sending their model traffic through Helicone.

What it needs

RuntimeNode.js

Node.js with npx. A Helicone account and an API key from Settings, API Keys, set as HELICONE_API_KEY; the server exits at start without it. The use_ai_gateway tool also needs the account to be able to pay for model calls through the AI Gateway (credits or provider keys set up in Helicone).

Limits

Request queries go to https://api.helicone.ai and gateway calls to https://ai-gateway.helicone.ai; both addresses are fixed in src/lib/helicone-client.ts with no setting to point at the EU region or a self-hosted Helicone, although the README sends EU users to an EU key page. Results are 100 per call unless limit is changed. The gateway tool reads the reply as a single JSON body, so its stream option is not useful. Version 0.1.6 is an early release.

Who it suits

Developers whose applications already log LLM traffic to Helicone's US cloud and who want to debug errors, cost or latency from their editor. It is mostly read-only, but use_ai_gateway spends money on model calls, so leave it unused if you only want log access. Teams on Helicone's EU region or self-hosting it should note the fixed US addresses. If you do not use Helicone, this server has nothing to read.

Tools 3

query_requests
Search logged LLM requests with filters, sorting and paging; can include request and response bodies
query_sessions
Find sessions in a time window by name, metadata or filters
use_ai_gateway
Send a chat completion to a chosen model through the Helicone AI Gateway, with optional session, user and property tags

Similar servers