Agentโ™ฅ๏ธŽAge
Catalog

io.github.spanlens/mcp-server

Official

by spanlens ยท TypeScript

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

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

  • The server exposes a Model Context Protocol (MCP) interface to access Spanlens observability data from inside popular LLM agents. It enables querying spend, anomalies, and traces, powered by Spanlens workspaces, for self-hosted and open-source environments.

๐Ÿ› ๏ธ Key Features

  • MCP-based access to LLM observability data
  • Reads Spanlens workspace data for cost, traces, and monitoring
  • Self-hosted, open-source compatible stack (Next.js, Python, TypeScript)
  • Supports agents like Cursor, Claude Desktop, Continue
  • Cost-tracking and tracing insights from LLM interactions

๐Ÿš€ Use Cases

  • Retrieve OpenAI or other provider spend this week
  • Detect cost anomalies in LLM usage
  • Show the most expensive trace today
  • Observability queries surfaced inside IDE agents

โšก Developer Benefits

  • Standard MCP endpoint for LLM-enabled tooling
  • Integrates with Spanlens dashboards and workspaces
  • Clear, lightweight setup (30-second style onboarding in readme excerpt)
  • Self-hosted deployment with observability-focused data access

โš ๏ธ Limitations

  • Grounding limited to Spanlens-based observability data
  • Public-scope keys are read-only and cannot trigger proxy actions
  • Requires configured Spanlens workspace and MCP client integration

Topics

ai-agentsanthropicclickhousegeminillmllmopsmonitoringnextjsobservabilityollamaopenaipythonself-hostedtracingtypescriptcost-trackingllm-monitoringllm-observabilityopen-source
io.github.spanlens/mcp-server - agentage MCP Catalog