Skip to main content

MCP Server

io.github.spanlens/mcp-server

v0.3.0Updated Sep 28, 2026stdio · npm

Query Spanlens LLM observability from Cursor, Claude Desktop, or Continue via MCP.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add mcp-server -e 'SPANLENS_API_KEY=<your-spanlens-api-key>' -e SPANLENS_BASE_URL=https://api.spanlens.io -- npx -y @spanlens/[email protected]

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • SPANLENS_API_KEY
    Env var· required· secret
    Spanlens API key. Must be a scope=public key (sl_live_pub_*) issued from the Public Keys card at https://spanlens.io/projects — the server refuses to start with a full-access sl_live_* key.
  • SPANLENS_BASE_URL
    Env var· optional
    Override the API endpoint for self-hosted Spanlens. Default: https://api.spanlens.ioDefault: https://api.spanlens.io

Listed in the official MCP Registry since Sep 28, 2026. Mirrored daily; last checked Nov 26, 2026.