# MTG Chinese Card Database - 大学院废墟(sbwsz.com)

MTG Chinese Card Database - 大学院废墟(sbwsz.com) is an MCP server for querying Chinese Magic: The Gathering cards, sets, and card numbers over HTTP or STDIO.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 533 installs · ★ 2 repo stars
- Author: lieyanqzu
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lieyanqzu/sbwsz-mcp
- Updated: 2025-09-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/mtg-chinese-card-database-sbwszcom

## What it does

This server connects an agent to the 大学院废墟 API for Chinese Magic: The Gathering card data. It can look up a card from its set code and collector number, run filtered searches with paging and ordering, and return either all sets or the cards belonging to one set.

The `hzls` tool turns supplied text into an image assembled from Magic card artwork. The server supports STDIO and HTTP operation. A hosted HTTP endpoint is available at `https://sbwsz-mcp--lieyanqzu.run.tools`; local setup uses Node.js with `npm install`, `npm run build`, and one of the start commands.

In HTTP mode, the local service listens on port 8081 at `http://localhost:8081/mcp`, so that port must be reachable from the client making the request.

## Requirements
- Remote server: `https://sbwsz-mcp--lieyanqzu.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http sbwsz-mcp https://sbwsz-mcp--lieyanqzu.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add mtg-chinese-card-database-sbwszcom --url https://sbwsz-mcp--lieyanqzu.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mtg-chinese-card-database-sbwszcom": {
            "url": "https://sbwsz-mcp--lieyanqzu.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mtg-chinese-card-database-sbwszcom": {
            "type": "http",
            "url": "https://sbwsz-mcp--lieyanqzu.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http mtg-chinese-card-database-sbwszcom https://sbwsz-mcp--lieyanqzu.run.tools
```

## When to use it
- look up a card by set code and number
- filter cards with a compound query
- list the available card sets
- page through one set’s cards
- turn card names into a composite image

## Example prompts
- Search for red creatures with the query `t:creature c:r`.
- Look up a card using its set code and collector number.
- Use `hzls` to make an image from this card text.

## Similar
- [MTG MCP Server](https://affpapa.org/en/nevibecode/mcp/mtg-mcp-server.md) — MCP server · ★ 23 repo stars
- [mtg-oracle](https://affpapa.org/en/nevibecode/mcp/mtg-oracle.md) — MCP server · ★ 6 repo stars
- [iwantmymtg-mcp](https://affpapa.org/en/nevibecode/mcp/iwantmymtg-mcp.md) — MCP server · 746 installs
- [clariBI.com](https://affpapa.org/en/nevibecode/mcp/claribicom.md) — MCP server · 4431 installs
- [GribStream.com Historical Weather Forecast API](https://affpapa.org/en/nevibecode/mcp/gribstreamcom-historical-weather-forecast-api.md) — MCP server · 2733 installs
- [Crypto.com](https://affpapa.org/en/nevibecode/mcp/cryptocom.md) — MCP server · 191 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
