Spanlens MCP Server

Open-source LLM observability you can turn on in one line. Point your OpenAI, Anthropic, or Gemini client at Spanlens and every call is logged with cost, tokens, latency, and full agent traces. No SDK rewrite, no platform migration. Eleven providers supported, plus native Vercel AI SDK, LangChain, and LlamaIndex integrations, and you can query it all from Cursor or Claude Desktop through the bundled MCP server.…

People connecting DevOps & monitoring tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 12 · #42 OF 101 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Spanlens MCP Server

before you install - you'll need

Set NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_URL, SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, ENCRYPTION_KEY, CRON_SECRET, SUPABASE_DB_POOLER_URL before connecting.

Claude Code

claude mcp add spanlens-spanlens -- npx -y @spanlens/mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "spanlens-spanlens": {
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @spanlens/mcp-server - published under the repo owner's npm scope (@spanlens)

registry namespace io.github.spanlens is GitHub-verified and matches the repo owner

03 · Who maintains Spanlens MCP Server

mcp-server is maintained by spanlens. It's the only MCP server we track from this author; the repo dates to Apr 2026.

04 · Facts

category
DevOps & monitoring - ranked #42 of 101 actively-maintained DevOps & monitoring servers as of 2026-08-25.
registry
io.github.spanlens/mcp-server (active, first published 2026-06-04 · 6 versions)
packages
npm:@spanlens/mcp-server

05 · Spanlens MCP Server FAQ

What is Spanlens MCP Server?

Open-source LLM observability you can turn on in one line. Point your OpenAI, Anthropic, or Gemini client at Spanlens and every call is logged with cost, tokens, latency, and full agent traces. No SDK rewrite, no platform migration. Eleven providers supported, plus native Vercel AI SDK, LangChain, and LlamaIndex integrations, and you can query it all from Cursor or Claude Desktop through the bundled MCP server.…

Is Spanlens MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24. We re-verify nightly.

How do I install Spanlens MCP Server?

Run `npx -y @spanlens/mcp-server`. The README documents 8 environment variables (NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_URL…) to set first. Set NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_URL, SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, ENCRYPTION_KEY, CRON_SECRET, SUPABASE_DB_POOLER_URL before connecting. You can also paste the ready-made client config above.

Does Spanlens MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Spanlens MCP Server

More DevOps & monitoring MCP servers · Guardian Shield · Datadog MCP · Mark Mesh · Actions Pulse · Uptimepage

More TypeScript MCP servers · Transcription · Omnisearch · SQLite Tools · Turso Cloud · Interactive Leetcode MCP · see all