Spanlens MCP
An MCP server that allows agents in Cursor, Claude Desktop, or Continue to query Spanlens LLM observability data, including request logging, cost tracking, and agent tracing for OpenAI, Anthropic, and Gemini.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 13 GitHub stars
What you can do with it
- Query LLM request logs and costs
- View agent tracing data
- Monitor LLM observability metrics
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@spanlens/mcp-server 0.3.0
{
"version": "0.3.0",
"transport": "stdio",
"identifier": "@spanlens/mcp-server",
"registryType": "npm",
"environmentVariables": [
{
"name": "SPANLENS_API_KEY",
"format": "string",
"isRequired": true,
"description": "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."
},
{
"name": "SPANLENS_BASE_URL",
"format": "string",
"default": "https://api.spanlens.io",
"description": "Override the API endpoint for self-hosted Spanlens. Default: https://api.spanlens.io"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"spanlens-mcp": {
"command": "npx",
"args": [
"-y",
"@spanlens/mcp-server@0.3.0"
],
"env": {
"SPANLENS_API_KEY": "<YOUR_SPANLENS_API_KEY>",
"SPANLENS_BASE_URL": "<YOUR_SPANLENS_BASE_URL>"
}
}
}
}Cline
{
"mcpServers": {
"spanlens-mcp": {
"command": "npx",
"args": [
"-y",
"@spanlens/mcp-server@0.3.0"
],
"env": {
"SPANLENS_API_KEY": "<YOUR_SPANLENS_API_KEY>",
"SPANLENS_BASE_URL": "<YOUR_SPANLENS_BASE_URL>"
}
}
}
}VS Code
{
"servers": {
"spanlens-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@spanlens/mcp-server@0.3.0"
],
"env": {
"SPANLENS_API_KEY": "<YOUR_SPANLENS_API_KEY>",
"SPANLENS_BASE_URL": "<YOUR_SPANLENS_BASE_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"spanlens-mcp": {
"command": "npx",
"args": [
"-y",
"@spanlens/mcp-server@0.3.0"
],
"env": {
"SPANLENS_API_KEY": "<YOUR_SPANLENS_API_KEY>",
"SPANLENS_BASE_URL": "<YOUR_SPANLENS_BASE_URL>"
}
}
}
}Let your agent find its tools
Find servers like Spanlens MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.