LocalFree server, account needed

Spanlens MCP server

spanlens/Spanlens

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

13 GitHub stars1 forks

Install Spanlens in Claude Code

Claude Code
claude mcp add spanlens-spanlens -e SPANLENS_API_KEY=... -- npx -y @spanlens/mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "spanlens-spanlens": {
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ],
      "env": {
        "SPANLENS_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Spanlens MCP server do?

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

Is the Spanlens MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Spanlens run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Spanlens to Claude Code?

Run: claude mcp add spanlens-spanlens -e SPANLENS_API_KEY=... -- npx -y @spanlens/mcp-server

More monitoring & observability MCP servers

View all