# deadends.dev MCP server

> Provides structured failure knowledge to prevent AI agents from repeating known code errors and country-specific real-world mistakes.

- Repository: https://github.com/dbwls99706/deadend.dev
- Page: https://hostedmcp.org/servers/dbwls99706/deadend-dev
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.3.1

## Install

### Claude Code

```sh
claude mcp add deadend-dev -- uvx deadends-dev
```

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

```json
{
  "mcpServers": {
    "deadend-dev": {
      "command": "uvx",
      "args": [
        "deadends-dev"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "deadend-dev": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deadends-dev"
      ]
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "deadend-dev": {
      "command": "uvx",
      "args": [
        "deadends-dev"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add deadend-dev -- uvx deadends-dev
```

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

```toml
[mcp_servers.deadend-dev]
command = "uvx"
args = ["deadends-dev"]
```

### Gemini CLI

```sh
gemini mcp add -s user deadend-dev uvx -- deadends-dev
```

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

```json
{
  "mcpServers": {
    "deadend-dev": {
      "command": "uvx",
      "args": [
        "deadends-dev"
      ]
    }
  }
}
```

## Tools (11)

- `lookup_error`
- `get_error_detail`
- `list_error_domains`
- `search_errors`
- `list_errors_by_domain`
- `list_errors_by_country`
- `get_country_summary`
- `batch_lookup`
- `get_domain_stats`
- `get_error_chain`
- `report_outcome`

## FAQ

### What kind of errors does deadends.dev cover?

It covers code errors like ModuleNotFoundError or CUDA OOM, as well as country-specific dead ends such as visa rules, banking requirements, and cultural taboos.

### How is the data quality verified?

The service maintains high precision metrics, including 90% Precision@1 and 0.935 MRR for code scenarios, with all metrics available on a public dashboard.

### Can I use this with Claude Desktop?

Yes, you can add it to your Claude Desktop configuration by specifying the python command and the path to the deadends.dev directory.
