mcpField
M
mcpspan

mcpspan

Remote
mcpspan.comData & Analytics21Updated today

About mcpspan

mcpspan is a read-only MCP server that lets AI agents query MCP server activity collected by mcpspan. It answers questions about tool failures, release differences, client behavior, sessions, and tools agents requested but the server lacks.

Key features

  1. 01Inspect calls, failures, and response times
  2. 02Rank tools by calls, errors, or other metrics
  3. 03Review failure details and unknown tool requests
  4. 04Compare releases and client performance
  5. 05Inspect recent sessions and call sequences

Use cases

  1. 01Investigate recent tool call failures
  2. 02Compare server behavior across releases
  3. 03Analyze client error rates and response times
  4. 04Find tools requested by agents but not provided

MCP support

The MCP server exposes read-only tools for querying mcpspan data, accessed with a read token for the relevant account. It supports mcpspan Cloud and self-hosted instances.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.mcpspan.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmmcpspan-mcp0.13.0

Tools

11

This tool takes no parameters.

Details

From the project README

mcpspan-mcp

Ask your AI agent about your MCP servers. Claude Code, Cursor or any other MCP client answers from your mcpspan numbers:

  • Which tools failed most this week, and why?
  • How does 1.4.1 compare with 1.4.0?
  • What do agents ask for that my server does not have?
  • Does Cursor fail more often than Claude?
  • Which tools are agents shown but never call?

It reads with a token that sees what you see in the dashboard and changes nothing. It sends nothing anywhere but your mcpspan.

Try it on the demo

No account needed: the live demo answers any token. In Claude Code:

claude mcp add mcpspan-demo \
  -e MCPSPAN_READ_TOKEN=demo \
  -e MCPSPAN_URL=https://demo-api.mcpspan.com \
  -- npx -y mcpspan-mcp

Then ask about the demo's server, Flights: what went wrong in the last day?

Get a token

In mcpspan, open Settings → Read tokens and make one. It is shown once, already filled into the lines below, ready to copy.

Add it to your agent

mcpspan Cloud

Claude Code:

claude mcp add mcpspan -e MCPSPAN_READ_TOKEN=mcpspan_read_... -- npx -y mcpspan-mcp

Cursor, Claude Desktop, Windsurf and others, in their MCP settings:

{
  "mcpServers": {
    "mcpspan": {
      "command": "npx",
      "args": ["-y", "mcpspan-mcp"],
      "env": { "MCPSPAN_READ_TOKEN": "mcpspan_read_..." }
    }
  }
}
Self-hosted

The same, with the address your MCP servers report to:

claude mcp add mcpspan \
  -e MCPSPAN_READ_TOKEN=mcpspan_read_... \
  -e MCPSPAN_URL=http://localhost:6271 \
  -- npx -y mcpspan-mcp
{
  "mcpServers": {
    "mcpspan": {
      "command": "npx",
      "args": ["-y", "mcpspan-mcp"],
      "env": {
        "MCPSPAN_READ_TOKEN": "mcpspan_read_...",
        "MCPSPAN_URL": "http://localhost:6271"
      }
    }
  }
}

Needs mcpspan 0.9.0 or newer. If the agent reaches your installation over the internet, put HTTPS in front of it: the token travels with every question.

Settings

Variable
MCPSPAN_READ_TOKENThe read token. Required.
MCPSPAN_URLYour installation's API, for self-hosted mcpspan. https://api.mcpspan.com when left out.

Needs Node 20 or newer.

Tools

Every tool only reads. Each takes the server by name or id (left out when the account has one) and a window: days back from now (7 when left out), or from and to.

ToolAnswers
list_serversThe servers the account reports on.
get_overviewCalls, failures, error rate, response times and clients.
list_toolsTools ranked by calls, errors, response time or name.
get_toolOne tool: why it failed, refused arguments, answer sizes, definition changes, repeats, and the call before each failure.
list_errorsThe latest failed calls, with the kind of failure and the message.
list_unknown_toolsTools agents asked for that the server lacks, the closest one it has, and what the agent did next.
list_clientsEach client's calls, error rate and response times.
compare_versionsThe server's releases side by side.
get_tool_listingWhat agents were shown: tools never used, and what their definitions cost.
list_sessionsRecent sessions, with failures and repeated calls.
get_sessionOne session's calls, in order.

A token can be revoked at any time under Settings → Read tokens; the agent loses access at once.

Licence

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.