Japan Food DB

Japan Food DB

Enables AI agents to resolve Japanese food names to nutrition facts per 100g based on official Japanese food composition data.

Category
Visit Server

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

Tool Description Endpoint
Japan Food DB Resolve 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured