Skip to main content
Glama
GTA 6 Wikia MCP Server

GTA 6 Wikia MCP Server

by ramosvimos
README.md
# GTA 6 Wikia MCP Server & Spoiler-Free Companion Skill

> **Unofficial, read-only** [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server and AI Agent Skill for *Grand Theft Auto VI*, powered by [gta6wikia.app](https://gta6wikia.app).

Give Claude, Cursor, Windsurf, ChatGPT, or any MCP-compatible AI assistant instant, spoiler-safe access to verified *Grand Theft Auto VI* reference data:

- **978** Leonida interactive map locations (Vice City, Key Lento, Port Gellhorn, Grassrivers, Mount Kalaga)
- **91** main story missions across Chapters 1–5 (with `max_chapter` spoiler guard)
- **22** verified 4-digit & 5-digit safe and keypad codes
- **10** verified PS5 & Xbox Series X|S console cheat codes with exact D-pad sequences
- **55** PS5 trophies / Xbox achievements (including missable & hidden filters)
- **169** money, weapon, vehicle, secret, collectible, and relationship guide entries

Zero runtime dependencies. Runs globally on **Cloudflare Workers** (Streamable HTTP) or locally via **Node.js stdio**.

---

## 1. Connect via Remote MCP (Recommended — No Install)

Once deployed (e.g., `https://mcp.gta6wikia.app/mcp`), add this to your MCP client config (**Claude Desktop**, **Cursor**, **Windsurf**, etc.):

```json
{
  "mcpServers": {
    "gta6-wikia": {
      "url": "https://mcp.gta6wikia.app/mcp"
    }
  }
}
```

## 2. Run Locally via `stdio` (Zero Dependencies)

Requires Node.js 20+:

```json
{
  "mcpServers": {
    "gta6-wikia": {
      "command": "node",
      "args": ["/path/to/gta6-wikia-mcp/src/stdio.js"]
    }
  }
}
```

## 3. Install the Spoiler-Free Companion Skill

The bundled Agent Skill ([`skills/gta6-companion/SKILL.md`](skills/gta6-companion/SKILL.md)) turns your AI assistant into a **spoiler-free GTA 6 co-pilot** that tracks your current chapter, warns about missable trophies, and links straight to interactive map pins on [gta6wikia.app](https://gta6wikia.app).

```bash
npx skills add ramosvimos/gta6-wikia-mcp
```

---

## Available MCP Tools

| Tool | Purpose | Spoiler Guard |
| --- | --- | --- |
| `search_gta6_wiki` | Full-text search across missions, map, safe codes, cheats, trophies, weapons, vehicles, money & secrets | `max_chapter` (1–5) |
| `get_safe_code` | Instant lookup of 22 safe & keypad codes with area notes and direct anchor links | — |
| `get_cheat_code` | PS5 / Xbox Series X|S D-pad sequences, unlock conditions, and trophy-safe save warnings | — |
| `get_mission_guide` | Search 91 story missions by name, number, or chapter | `max_chapter` (1–5) |
| `find_map_location` | Search 978 Leonida map landmarks and return direct interactive map pin URLs | — |
| `get_trophy_guide` | Filter 55 trophies by grade, keyword, or `missable_only` | `include_hidden: false` |

---

## Self-Hosting on Cloudflare Workers

```bash
# 1. Run tests (zero npm install needed)
npm test

# 2. Preview locally with Wrangler
npm run dev

# 3. Deploy to Cloudflare Workers
npm run deploy
```

To bind a custom domain such as `mcp.gta6wikia.app`, uncomment the `[[routes]]` block in [`wrangler.toml`](wrangler.toml) before running `npm run deploy`.

### Refreshing the Dataset

If you maintain the companion [`gta6wikia`](https://gta6wikia.app) content repo locally:

```bash
node scripts/sync-data.mjs ../gta6wikia
```

---

## Disclaimer

This is an independent, unofficial fan project powered by [gta6wikia.app](https://gta6wikia.app). It is not affiliated with, endorsed by, or sponsored by Rockstar Games or Take-Two Interactive. *Grand Theft Auto VI* and related marks are property of their respective owners.

Licensed under the [MIT License](LICENSE).