spiced-mcp
Official# spiced-mcp
An [MCP](https://modelcontextprotocol.io) server that lets an AI assistant browse the public
[spiced.gg](https://spiced.gg) game catalog: search games, read store details, look at
leaderboards, achievements and public player pages, and see what is new or coming soon.
It runs on your machine over stdio and calls the public spiced.gg API. It only reads public
data. There is no login, it holds no secrets, it cannot change anything, and it sends no telemetry.
## Tools
All thirteen tools are read-only. Each returns a short text summary plus structured data, and
game results include the store page URL (and the play URL for released games) so an
assistant can link to them.
| Tool | Input | What it returns |
| --- | --- | --- |
| `spiced_search_games` | `q`, `category`, `sort`, `limit` (all optional, `limit` defaults to 20) | Games matching a text query or category, in the chosen order |
| `spiced_list_shelves` | none | The curated front page shelves, including new releases and coming soon |
| `spiced_get_game` | `slug` | Full detail for one game: descriptions, engine, content rating, languages, price, screenshots |
| `spiced_get_leaderboard` | `slug`, `period` (`all` or `daily`) | The all-time leaderboard for a game, or the scores posted today, with each player's public id |
| `spiced_list_leaderboard_games` | `limit` (optional, defaults to 25) | Every game with a leaderboard, its player count and current first place |
| `spiced_get_game_achievements` | `slug` | The achievements a game defines, and how many are hidden |
| `spiced_get_game_items` | `slug` | The in-game items a game offers |
| `spiced_get_developer` | `slug` | A developer's public profile and their published games |
| `spiced_get_founding_developers` | none | Whether the founding developer program is open, seats claimed out of the limit, and the roster, as of the call |
| `spiced_get_player` | `address`, `limit` (optional, defaults to 50) | One player's public standings and achievements: display name, month joined, achievements and leaderboard placements, with placements and per-game achievements capped at `limit` each |
| `spiced_get_daily_challenge` | none | Today's daily challenge game and when it ends |
| `spiced_get_daily_challenge_history` | `limit` (optional, defaults to 30) | Recent daily challenges by day, with the game, player count and winner |
| `spiced_get_platform_stats` | none | Total games and players on the platform |
A slug is the last part of a store URL: the slug of `https://spiced.gg/games/cipher-core` is
`cipher-core`. Search results include the slug of every game and developer, so an assistant
never needs an internal id.
A player address is the `publicId` shown on a leaderboard row, or `@` followed by the slug in
a profile link, for example `@river-fox`. `spiced_get_player` is a lookup only: there is no
way to search for or list players. Achievements a game keeps hidden are counted, never named.
Search options:
- `sort`: `new`, `rated`, `trending`, `price-low`, `price-high`, `title`
- `category`: `action`, `adventure`, `puzzle`, `racing`, `rpg`, `strategy`, `simulation`,
`sports`, `shooter`, `platformer`, `roguelike`, `rhythm`, `horror`, `casual`, `multiplayer`
- `limit`: 1 to 120. The catalog API has no paging, so raise the limit or narrow the search.
## Example prompts
- "Which spiced.gg games have a leaderboard, and who is in first place on the busiest one? Show me that player's public page."
- "What were the last five spiced.gg daily challenges, and is the founding developer program open right now?"
## Requirements
Node.js 22 or later.
## Add it to an MCP client
Every client launches the server the same way, with this command and arguments:
```sh
npx -y @spiced-gg/mcp
```
Only where you put that command differs.
### Claude Code
```sh
claude mcp add spiced -- npx -y @spiced-gg/mcp
```
### Claude Desktop
Add an entry to `claude_desktop_config.json` (Settings, Developer, Edit Config), then restart
the app:
```json
{
"mcpServers": {
"spiced": {
"command": "npx",
"args": ["-y", "@spiced-gg/mcp"]
}
}
}
```
### Cursor
Add the same entry to `.cursor/mcp.json` in a project, or to `~/.cursor/mcp.json` for every
project:
```json
{
"mcpServers": {
"spiced": {
"command": "npx",
"args": ["-y", "@spiced-gg/mcp"]
}
}
}
```
### VS Code
Add an entry to `.vscode/mcp.json`:
```json
{
"servers": {
"spiced": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@spiced-gg/mcp"]
}
}
}
```
### Any other client
Configure a stdio server with the command `npx` and the arguments `-y @spiced-gg/mcp`.
## Configuration
| Variable | Default | Purpose |
| --- | --- | --- |
| `SPICED_API_ORIGIN` | `https://api.spiced.gg` | Base URL of the API to read from. Override it only to point at another deployment of the same API. |
No other configuration exists. To set the variable, use your client's `env` setting for the
server, for example `"env": { "SPICED_API_ORIGIN": "http://localhost:8787" }`.
## How it behaves
- **Read-only.** The server only sends unauthenticated `GET` requests to the public API.
- **Polite.** Responses are cached in memory for about 60 seconds, requests time out after
15 seconds, and each request carries a `spiced-mcp/<version>` user agent.
- **Small responses.** Game cards are trimmed to the fields an assistant can use.
- **Nothing personal beyond the public page.** Player results keep only what a public player
page states. Recent play activity and avatar images are left out of every tool.
- **Dates, not times, for people.** Anything dated to a player or a developer account, such as
when an achievement was earned or a score submitted, is a UTC calendar date (`YYYY-MM-DD`).
- **Helpful errors.** An unknown slug points the assistant to `spiced_search_games`, an
unknown category lists the valid ones, and an unreachable API says so.
- **Third-party text is data.** Game titles, descriptions, developer names and leaderboard
display names are written by developers and players. The server passes that text through
as data and tells the assistant, in each tool description, not to treat it as instructions.
## Development
```sh
git clone https://github.com/Spiced-gg/spiced-mcp.git
cd spiced-mcp
npm install
npm run build # compile to dist/
npm run typecheck
npm test # unit tests, with the network mocked
npm run test:live # opt-in smoke test: one call per tool against the real API
npm run check:stdio # start the built server and exercise it over stdio
```
To run a local build in a client, use the command `node` with the absolute path to
`dist/index.js` as its argument.
`evaluation.xml` holds eleven read-only questions with known answers, for checking that an
assistant can use the tools to answer real questions about the catalog.
## License
The code in this repository is released under the [MIT License](LICENSE).
The license covers the code only. "Spiced", "spiced.gg", Spicy and their logos are not
covered by it and may not be used without permission.
TDQS
Scored across 13 tools
Each tool maps to a distinct resource (game, player, developer, leaderboard, daily challenge, shelf, stats), and the descriptions explicitly cross-reference the right follow-up tool. The only soft overlaps are the browsing surfaces — spiced_search_games vs spiced_list_shelves, and spiced_list_leaderboard_games vs spiced_get_leaderboard — which are adjacent enough that an agent could occasionally pick the wrong entry point.
Every tool is namespaced with the spiced_ prefix and follows a strict verb_noun pattern (search_/list_/get_ + resource), all snake_case with no deviations. Sub-resources read predictably as get_game_achievements, get_game_items, get_daily_challenge_history.
13 tools sit comfortably in the well-scoped range for a read-only public API surface. Each tool covers a distinct endpoint area (catalog, shelves, leaderboards, challenges, developer, player, stats) with no filler.
Read coverage is broad and closes most loops: catalog search, game detail with achievements/items, leaderboards, daily challenge plus history, developer, founding developers, player standings, and platform stats. Minor gaps remain — there is no way to list or browse developers generally (only by known slug), and no paging beyond raising limit to 120, so large result sets can dead-end.