Japan Food DB

dev.toriigatePublished by toriigate.devOfficial publisherv0.2.0Updated Nov 2, 2026

Resolve Japanese food names to nutrition facts. All 2,538 foods from Japan's official tables.

VerifiedStreamable HTTPWeb executableLocation & LifestyleData & Analytics

Overview

AI-generated overview

Remote MCP server that resolves Japanese food names to per-100g nutrition facts from Japan's official food composition tables.

What you can do
  • Search Japanese foods by name, including fuzzy or colloquial forms, and get candidate matches with nutrition per 100g, source and disclaimer
  • Look up nutrition facts per 100g for a specific food ID returned by a search
  • Work from the official Standard Tables of Food Composition in Japan, covering foods that USDA and Open Food Facts may not list
When to use it
Useful when an assistant has to answer questions about Japanese dishes, ingredients or packaged foods and needs sourced calorie and nutrient values rather than guesses.
Requirements
A remote Streamable HTTP endpoint; no API key is needed for the free tier, which is rate-limited. No environment variables or headers are declared.
Before you install
Responses are reference values only and are explicitly not for medical, allergy or other critical decisions. The free tier is rate-limited, and the operator records discovery, connect and call events for metering.

Installation

In SourceWeft

  1. Open Japan Food DB in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.toriigate%2Ffood-db/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "japan-food-db": {
      "type": "http",
      "url": "https://toriigate.dev/mcp/food-db"
    }
  }
}

README

⛩️ Torii Gate

Japanese data tools for AI agents.

Japan has a wealth of clean, public, factual data — food composition tables, corporate registries, laws, land prices. Almost none of it is usable by AI agents: no clean APIs, Japanese-only interfaces, Excel files behind web forms. Meanwhile, agents worldwide get asked to do Japanese tasks every day.

Torii Gate is the gateway: each dataset becomes a remote MCP server that any agent can discover, connect to, and call.

Tools

ToolDescriptionEndpoint
Japan Food DBResolve Japanese food names (fuzzy/colloquial forms included) to nutrition facts per 100g, based on the official Standard Tables of Food Composition in Japan. Covers foods USDA and Open Food Facts don't./mcp/food-db

More tools are on the way — corporate registry lookup, invoice registration checks, subsidy search. The platform is manifest-driven: adding a tool is one directory and one registry line.

Connect from an MCP client

Add the remote server to your client (Claude Code example):

sh
claude mcp add --transport http japan-food-db https://toriigate.dev/mcp/food-db

Then ask things like "「セブンのサラダチキン」的な鶏むね肉のカロリーは?" — the agent calls search_food / get_nutrition and gets factual data with sources attached.

No API key is needed for the free tier (rate-limited).

Run it yourself

sh
npm installnpm run dev        # local dev server on :8787npm run typecheck

Smoke test:

sh
curl http://localhost:8787/llms.txtcurl -X POST http://localhost:8787/mcp/food-db \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_food","arguments":{"query":"ごはん"}}}'

Architecture

  • Cloudflare Workers + Hono + MCP SDK (Streamable HTTP, stateless)
  • Manifest-driven: each tool lives in src/tools/<name>/ and declares its MCP tools, pricing, and data sources in a manifest. llms.txt and MCP Registry server.json records are generated from manifests — never hand-written.
  • Funnel metering built in: discovery → connect → call events are recorded for every tool.
  • Budget-guarded by design: runs on the Workers free plan, whose hard request cap fails closed instead of billing.

Data principles

  1. Records hold facts only — names, numbers, source URL, retrieval date. No copyrighted text or images.
  2. Public/government data forms the base layer; every record carries its source and license.
  3. Every response includes a disclaimer: reference values only, never for medical, allergy, or other critical decisions.
  4. Takedown requests are honored immediately.

Full datasets are imported at deploy time and are not part of this repository.

The experiment

This platform is built and operated almost entirely by AI agents — planning, code, registry publishing, monitoring, and weekly funnel reports — with a human in the loop only for publish/kill approvals and a budget review. It is an open experiment in whether an AI-operated business unit can find real agent-to-agent demand. Funnel numbers and decisions will be published as we go.

License

MIT

Source: README.md at commit 7d1e09b

Tools

2

search_food

Search Japanese foods

Search Japanese foods by name (Japanese or romaji-free text). Returns candidates with nutrition per 100g, source, and disclaimer.

Parameterslimitqueryrequired

get_nutrition

Get nutrition facts by food ID

Get nutrition facts per 100g for a food ID returned by search_food.

Parametersidrequired

Version history

1
  1. v0.2.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts