Skip to main content
Glama
README.md
# byesu-mcp

A lightweight, zero-dependency, read-only **Model Context Protocol (MCP)** server for [byesu.com](https://byesu.com) and [docs.byesu.com](https://docs.byesu.com).

Uses only Python 3's standard library (`json`, `urllib.request`) — zero external dependencies, no API key required.

## Tools Exposed

| Tool | Description | Source |
|---|---|---|
| `get_llm_benchmarks` | Live weekly production TTFT p50/p95, uptime, and output tok/s (CC BY 4.0) | `https://byesu.com/benchmarks/latest.json` |
| `lookup_api_error` | Searches 31 code-level troubleshooting guides (Claude, OpenAI, Gemini, Claude Code, Codex) via `Accept: text/markdown` | `https://docs.byesu.com/{lang}/errors/...` |
| `compare_models` | Side-by-side flagship & gateway comparisons (`opus 5.5 vs gpt 6.2`, `sonnet 5.5 vs deepseek v4`, `openrouter`, `image pricing`) | `https://docs.byesu.com/{lang}/compare/...` |
| `get_client_setup` | Setup guides for Cursor, Cline, Aider, Continue, Kilo Code, Dify, n8n, LobeChat, Open WebUI, NextChat, SillyTavern, Chatbox, Immersive Translate, Claude Code, Codex CLI | `https://docs.byesu.com/{lang}/clients/...` |
| `get_gateway_overview` | Gateway endpoints (`/v1` & `/v1/messages`), model list, and token groups | `https://byesu.com/llms.txt` |

## One-Line Zero-Clone Setup (`uvx`)

### Claude Code CLI
```bash
claude mcp add byesu-docs -- uvx --from git+https://github.com/amdmsz/byesu-mcp byesu-mcp
```

### Cursor / Cline / Windsurf / Claude Desktop (`mcpServers`)
```json
{
  "mcpServers": {
    "byesu-docs": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/amdmsz/byesu-mcp", "byesu-mcp"]
    }
  }
}
```

### Local Clone Fallback (No `uv` Needed — Pure Python 3)
```json
{
  "mcpServers": {
    "byesu-docs": {
      "command": "python3",
      "args": ["/path/to/byesu-mcp/byesu_mcp.py"]
    }
  }
}
```

## Run Tests

```bash
python3 -m unittest discover -s tests
```

## License

MIT — data from `byesu.com/benchmarks` is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The tools mostly target distinct needs: benchmarks, error lookup, model comparison, client setup, and gateway overview. However, get_llm_benchmarks and compare_models both surface LLM performance and pricing data, so there is some potential overlap in selection.

Naming Consistency5/5

All tool names use a consistent snake_case verb_noun pattern: get_*, lookup_*, and compare_*. The names are predictable and readable across the entire set.

Tool Count5/5

Five tools is well-scoped for a focused informational gateway/benchmark server. Each tool corresponds to a distinct user task without excessive surface area.

Completeness4/5

The surface covers the main read-only workflows: benchmarks, troubleshooting, comparisons, client setup, and gateway metadata. Minor gaps may exist, such as a dedicated historical benchmark or broader model catalog tool, but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues