# Span MCP server

> Allows coding agents to record, retrieve, and re-verify codebase explanations with exact source evidence and version history.

- Repository: https://github.com/pontivus-com/span
- Page: https://hostedmcp.org/servers/pontivus-com/span
- Transport: stdio
- Stars: 1
- License: Apache-2.0
- Latest version: 0.10.5

## Install

### Claude Code

```sh
claude mcp add span -- uvx span-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "span": {
      "command": "uvx",
      "args": [
        "span-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "span": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "span-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"span","type":"stdio","command":"uvx","args":["span-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "span": {
      "command": "uvx",
      "args": [
        "span-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add span -- uvx span-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.span]
command = "uvx"
args = ["span-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user span uvx -- span-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "span": {
      "command": "uvx",
      "args": [
        "span-mcp"
      ]
    }
  }
}
```

## FAQ

### What does Span do for a coding agent?

Span enables agents to record coherent explanations with exact source support, explicit gaps, and version history to make investigations reusable across sessions.

### How does Span handle changes in the codebase?

The reconsider tool allows agents to check affected dependencies and investigate changes to confirm, correct, replace, or withdraw previous explanations.

### Does Span require a model or cloud provider?

No, Span runs locally over stdio and does not invoke a model or store provider credentials; the agent uses its own model and tools.
