nomgacha-mcp
NomGacha MCP Server
Official Model Context Protocol (MCP) server for NomGacha — the free, zero-login browser trading card game and Daily Calorie Raid Boss challenge powered by curated real-world nutrition data from Open Food Facts.
Official MCP Guide & Live Setup: https://nomgacha.com/mcp/
Play Free in Browser: https://nomgacha.com/ · Collection Dex · Daily Raid Boss
Features (Zero API Key Required)
All tools run directly against NomGacha's public Series 01 dataset (https://nomgacha.com/data/cards.min.json, 224 studio-clean Open Food Facts cards) with in-memory caching and zero authentication required.
Tools (6)
Tool | Description |
| Search & filter all 224 Series 01 cards by keyword, rarity ( |
| Inspect a single card by barcode ID, serial number ( |
| Simulate ripping 1–10 Standard or 10-Pack Mythic Gold Pity booster packs using exact production slot weights, returning pulled cards and a live |
| Deterministically compute today's (or any UTC date's) global Daily Calorie Raid Boss, Boss HP, UTC reset countdown, and top Healthy Counter picks. |
| Draft up to 5 cards (or auto-pick the optimal Healthy Counter squad) to simulate a full 5-turn Raid Boss battle with |
| Convert any real-world snack's per-100g nutrition label into official NomGacha |
Resources (2) & Prompts (2)
Resources:
nomgacha://series01/overview(live pool stats & leaders),nomgacha://rules/formulas(exact ATK/DEF/Raid/Drop-Rate specs)Prompts:
daily_raid_strategy,rate_my_snack
Related MCP server: indian-food-nutrition-mcp
Quick Start (stdio)
Option A: Run via npx (Recommended after npm publish)
Add this to your Claude Desktop, Cursor, Windsurf, or generic MCP client configuration:
{
"mcpServers": {
"nomgacha": {
"command": "npx",
"args": ["-y", "nomgacha-mcp-server"]
}
}
}Option B: Run Locally from Source
git clone https://github.com/double2dev/nomgacha-mcp.git
cd nomgacha-mcp
npm install
npm run buildThen point your MCP client to the compiled entry point:
{
"mcpServers": {
"nomgacha": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-server/dist/index.js"],
"env": {
"NOMGACHA_DATA_URL": "https://nomgacha.com/data/cards.min.json"
}
}
}
}Environment Variables (All Optional)
See .env.example:
NOMGACHA_DATA_URL— Custom URL forcards.min.json(default:https://nomgacha.com/data/cards.min.json)NOMGACHA_DATA_PATH— Absolute path to a localcards.min.jsonfile for offline usageNOMGACHA_CACHE_TTL_SEC— In-memory dataset cache TTL in seconds (default:3600)
Remote Transport Note (Streamable HTTP / SSE)
This package defaults to local stdio transport so it runs with zero hosting cost and zero rate limits on any developer's machine. If you want to expose a hosted remote MCP endpoint in the future, wrap registerNomGachaTools and registerNomGachaResourcesAndPrompts inside @modelcontextprotocol/sdk's StreamableHTTPServerTransport on Node.js or Cloudflare Workers.
Attribution & License
Code License: MIT
Nutrition Data: Curated from Open Food Facts under ODbL 1.0 / CC-BY-SA 3.0.
Disclaimer: NomGacha is strictly an entertainment trading card game — not medical, dietary, or health advice.
Available Tools
6 toolscalculate_nutrition_card_statsA
Convert any real-world food’s per-100g nutrition label into official NomGacha TCG stats (ATK, DEF, Healthy Counter eligibility, and Raid Boss damage) and compare it against the closest cards in Series 01.
Inputs: fat (required), kcal (required), sugar (required), protein (required), +4 more.
get_daily_raid_bossA
Get the deterministic global Daily Calorie Raid Boss for today (or any YYYY-MM-DD UTC date), including Boss HP, UTC reset countdown, and top recommended Healthy Counter cards from Series 01.
Inputs: dateUtc.
get_food_cardB
Get full nutrition details, transparent ATK/DEF formula breakdown, Raid Boss damage, and Open Food Facts links for a single NomGacha card by barcode ID, serial number (1–224), or product name.
Inputs: identifier (required).
open_booster_packA
Simulate ripping open 1 to 10 NomGacha booster packs (Standard or 10-Pack Mythic Gold Pity) using exact production drop rates, returning the pulled cards, rarity summary, and a NomGacha share link.
Inputs: count, packType.
search_food_cardsA
Search and filter NomGacha Series 01 real food TCG cards (224 curated Open Food Facts products) by keyword, rarity, Nutri-Score, category, country, calories, or Healthy Counter eligibility.
Inputs: limit, nutri, query, rarity, +6 more.
simulate_raid_battleA
Simulate a 5-card squad battle against today’s (or a specified UTC date’s) Daily Calorie Raid Boss, computing turn-by-turn damage, Healthy Counter ×1.5 crits, victory status, and a Wordle-style share grid.
Inputs: squad, dateUtc.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a clearly distinct resource and action: card lookup, card search, pack opening, daily boss retrieval, battle simulation, and stat conversion. The closest pair, get_food_card and calculate_nutrition_card_stats, is well separated by existing-card retrieval versus arbitrary food-label conversion.
All tool names use consistent snake_case with a leading verb and descriptive noun phrase. The pattern is predictable across all six tools, with only natural variation like get_daily_raid_boss versus get_food_card.
Six tools is well-scoped for a TCG simulation server, covering card discovery, pack opening, raid content, battle simulation, and stat conversion without bloat. Each tool clearly earns its place in the core game loop.
The surface covers the key workflows: searching and retrieving cards, opening packs, checking daily raid bosses, simulating battles, and converting real nutrition into card stats. Minor gaps exist around set metadata, filter discovery, or saved player/collection state, but agents can work around them.
Maintenance
Related MCP Connectors
Unlock the power of food transparency with our Open Food Facts MCP server. Easily look up any food
Search and compare 69,000+ MCP servers and get their setup details. Read-only, no sign-in.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Free perfume MCP server and fragrance API: 6,000+ perfumes, note pyramids, accords, similar scents.
Related MCP Servers
- -
- AlicenseNot gradedqualityDmaintenanceAn MCP server that lets you log meals through Claude (and soon ChatGPT) in plain language, using India's official food composition data (IFCT 2017) plus USDA, enabling accurate calorie and macro tracking for Indian dishes with household units and photo logging.63 npm2AGPL 3.0
- AlicenseAqualityDmaintenanceMCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.8MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for food-related queries powered by MiniMax AI, enabling natural language interaction via a chat API.-