mcpbeat Sign in

Spanlens MCP Server

local only

Spanlens runs on your own machine — the client starts it, so there is no endpoint to ping. 66 installs a week from npm. Last commit 6 Nov 2026.

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

Installs per day peak 27 · avg 7 · -13% w/w
a month agotoday
66
Installs / week
npm · @spanlens/mcp-server
13
Stars
1 open issue
6 Nov 2026
Last commit
1 release in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Executes code built at runtime apps/server/src/lib/prompt-cache.ts:207
    const value = await redis.eval(
    const child = spawn(pm, args, {
        proc = subprocess.run(  # noqa: S603 - argv is a fixed list, no shell
Builds a database query by concatenation apps/web/app/(dashboard)/alerts/alerts-client.tsx:606
                                aria-label={`Delete ${a.name}`}

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-server -e 'SPANLENS_API_KEY=<SPANLENS_API_KEY>' -- npx -y @spanlens/mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ],
      "env": {
        "SPANLENS_API_KEY": "<SPANLENS_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@spanlens/mcp-server"]
env = { SPANLENS_API_KEY = "<SPANLENS_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ],
      "env": {
        "SPANLENS_API_KEY": "<SPANLENS_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ],
      "env": {
        "SPANLENS_API_KEY": "<SPANLENS_API_KEY>"
      }
    }
  }
}

Put your own value in place of <SPANLENS_API_KEY> (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). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: SPANLENS_BASE_URL (Override the API endpoint for self-hosted Spanlens. Default: https://api.spanlens.io).

Alternatives to Spanlens

same job, measured the same way
A
Argosvix
by argosvix

Observability MCP server: query LLM cost/errors/latency & operate alerts/evals from Claude/Cursor

102 installs/wk local only
B
Bitmovin Observability MCP
by bitmovin-mcp-analytics

Query and analyse your data from Bitmovin Observability

11 tools answering
SPOC
by spoc-app

stdio bridge for the SPOC MCP server — for Claude Desktop, Cursor, Zed

43 installs/wk local only
3dstreet
by 3dstreet

Drive an open 3DStreet scene tab from Claude Desktop or Claude Code via MCP tool calls.

102 installs/wk local only
Foxhound
by caleb-love

MCP server for querying Foxhound traces from Claude Code, Cursor, and other MCP clients

29 installs/wk local only
Convalytics
by dan-cleary

Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.

15 tools answering
Soul MCP Server
by antoniotf5

MCP server for validating and generating SOUL.md agent identity files from Claude Desktop.

53 installs/wk local only
Whatsapp
by gaviwhatsapp

Send WhatsApp messages from Cursor, Claude Code, and Codex via MCP.

local only

Spanlens — questions

Answers built from our own checks of this server.

Why is there no uptime for Spanlens?
Spanlens runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @spanlens/mcp-server was installed 66 times last week.
How do I connect Spanlens?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @spanlens/mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Spanlens?
The npm package @spanlens/mcp-server was installed 66 times in the last week. Week over week that is -13%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Spanlens open source?
Yes — it is published under the MIT licence, written in TypeScript, 13 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.