Wago DB2 MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Wago DB2 MCP Server
DuckDB-powered MCP server for querying Wago DB2 CSV tables. Gives AI coding assistants instant SQL access to all 1,097+ World of Warcraft data tables — spells, items, creatures, areas, factions, transmog, and more.
How It Works
Download CSV exports from wago.tools using the included downloader
Point the MCP server at the CSV directory
Tables are lazy-loaded into DuckDB (in-memory) on first query
Full SQL support: JOINs, aggregations, ILIKE, subqueries
Related MCP server: motherduck-mcp
Quick Start
# Install
pip install -e .
# Download tables for WoW 12.x (latest build auto-detected)
wago-db2-download --major 12 --tables-file tables.txt --out csv
# Start the MCP server
WAGO_CSV_DIR=./csv/major_12/<build>/enUS wago-db2MCP Configuration
Add to your MCP client config (Claude Code, Antigravity, etc.):
{
"mcpServers": {
"wago-db2": {
"command": "python",
"args": ["-m", "wago_db2_server"],
"env": {
"WAGO_CSV_DIR": "/path/to/csv/major_12/12.0.1.66337/enUS",
"PYTHONUTF8": "1"
}
}
}
}Tools
Tool | Description |
| Look up rows by ID (primary key). Supports batch lookups and column selection |
| Case-insensitive text search. Auto-detects name column ( |
| Check which IDs exist vs missing. Returns |
| Raw SELECT queries with JOINs, aggregations, etc. Non-SELECT statements are rejected |
| List all available tables with optional name filter |
| Show schema (column names + types) and sample rows |
Downloader
The included downloader fetches CSV exports from wago.tools with parallel downloads:
# Download specific tables
wago-db2-download --major 12 --tables SpellName,ItemSparse,Creature
# Download from a list file
wago-db2-download --major 12 --tables-file tables.txt --out csv
# Force re-download, 16 threads
wago-db2-download --major 12 --tables-file tables.txt --force --threads 16
# Specific build + locale
wago-db2-download --major 12 --build 12.0.1.66337 --locale deDE --out csvDownloader Options
Flag | Default | Description |
| (required) | Expansion major version (12 for Midnight, 11 for TWW, etc.) |
| auto-detect | Override build string (e.g. |
|
| Locale for CSV data |
|
| Output directory |
| Comma-separated table names | |
| Path to text file with table names (one per line) | |
| 8 | Concurrent download threads |
| false | Re-download existing files |
| 60 | HTTP timeout in seconds |
Environment Variables
Variable | Default | Purpose |
|
| Directory containing DB2 CSV files |
Enriched Tables
Place additional CSV files in an enriched/ subdirectory next to your CSV directory. These are loaded alongside the standard DB2 tables and can be JOINed freely. Useful for pre-computed cross-references (e.g., items with appearance IDs, transmog sets with names).
Security
Only SELECT queries are allowed — INSERT, UPDATE, DELETE, DROP, etc. are rejected
SQL comments are stripped before keyword validation to prevent bypass
All ID parameters are validated as integers
Default LIMIT 1000 is enforced on queries without an explicit LIMIT
Requirements
Python 3.10+
DuckDB — in-memory analytical database
FastMCP — Python MCP framework
Requests — for the downloader
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
Query Postgres, MySQL, BigQuery, Iceberg and files with DuckDB, with per-query cost checks.
The all-in-one data stack for agents. Upload files, run SQL, evolve tables, and render charts.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables AI assistants and IDEs to execute SQL queries on local DuckDB databases, in-memory databases, or cloud-stored databases with support for flexible connections and configurable result limits.11MIT
- AlicenseNot gradedqualityDmaintenanceEnables executing SQL queries on DuckDB databases locally or on MotherDuck cloud, with support for multiple databases, read-only mode, and Claude Desktop integration.MIT
- AlicenseNot gradedqualityBmaintenanceQuery local CSV, Parquet, JSON and TSV files with real SQL via DuckDB. Gives your AI coding tool ground-truth data access instead of hallucinated answers.5MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants and MCP clients to ask natural-language questions about DuckDB or CSV data and receive safe, read-only SQL-generated tabular insights with automatic schema discovery and multi-table joins.1-