Skip to main content
Glama

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_food_cards

Search & filter all 224 Series 01 cards by keyword, rarity (N–UR), Nutri-Score (A–E), category, country, kcal range, or Healthy Counter ×1.5 eligibility.

get_food_card

Inspect a single card by barcode ID, serial number (#001–#224), or name — with exact per-100g nutrition, transparent ATK/DEF equation breakdown, and Open Food Facts links.

open_booster_pack

Simulate ripping 1–10 Standard or 10-Pack Mythic Gold Pity booster packs using exact production slot weights, returning pulled cards and a live nomgacha.com/share/ URL.

get_daily_raid_boss

Deterministically compute today's (or any UTC date's) global Daily Calorie Raid Boss, Boss HP, UTC reset countdown, and top Healthy Counter picks.

simulate_raid_battle

Draft up to 5 cards (or auto-pick the optimal Healthy Counter squad) to simulate a full 5-turn Raid Boss battle with ×1.5 CRIT math and a copyable Wordle-style grid.

calculate_nutrition_card_stats

Convert any real-world snack's per-100g nutrition label into official NomGacha ATK, DEF, estimated Rarity, Raid damage, and closest Series 01 rivals.

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 build

Then 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 for cards.min.json (default: https://nomgacha.com/data/cards.min.json)

  • NOMGACHA_DATA_PATH — Absolute path to a local cards.min.json file for offline usage

  • NOMGACHA_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 tools
calculate_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

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for pokemon information
      4
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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 npm
      2
      AGPL 3.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for food-related queries powered by MiniMax AI, enabling natural language interaction via a chat API.
      -