Back to Browse

Toriigate Platform MCP Server

Developer ToolsModerate7.2MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

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

About

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

Remote endpoints: streamable-http: https://toriigate.dev/mcp/food-db

Security Report

7.2
Moderate7.2Low Risk

A well-architected MCP server with clean code, proper input validation, and thoughtful data handling. The server provides factual Japanese food composition data with appropriate disclaimers and source attribution. Permissions align well with the stated purpose. Minor quality suggestions around error handling and type safety do not materially affect security. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity).

7 files analyzed · 5 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

database

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub 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):

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

npm install
npm run dev        # local dev server on :8787
npm run typecheck

Smoke test:

curl http://localhost:8787/llms.txt
curl -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

Reviews

No reviews yet

Be the first to review this server!

Toriigate Platform MCP Server - Resolve Japanese food names to nutrition facts. All 2,538 | MCP Marketplace