Foodblock MCP server
io.github.FoodXDevelopment/foodblock-mcp·v0.5.1·1 starsFood data tools for any AI agent. Describe food in English, get structured data back.
1 stars25 downloads/wk
Reviews
Write oneNobody has reviewed Foodblock yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Foodblock tools (17, 5 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
foodblock_agent_draftwrite actionCreate a draft FoodBlock on behalf of an agent. Draft blocks have state.draft=true.
foodblock_approve_draftApprove a draft block created by an agent. Creates a confirmed version with draft removed.
foodblock_batchwrite actionCreate multiple FoodBlocks in a single request. Blocks are sorted in dependency order
foodblock_chainFollow the update chain of a FoodBlock backwards through its versions.
foodblock_createwrite actionCreate a new FoodBlock. A FoodBlock is the universal data primitive for the food system.
foodblock_create_agentwrite actionRegister a new AI agent in the FoodBlock system.
foodblock_fbThe single natural language entry point to FoodBlock. Describe food in plain English
foodblock_getFetch a specific FoodBlock by its SHA-256 hash.
foodblock_headsList all head blocks (latest version of each entity/item).
foodblock_infoGet an overview of the FoodBlock system: server info, block count, and protocol summary.
foodblock_list_agentsList all AI agents in the FoodBlock system.
foodblock_load_agentLoad a previously created agent using saved credentials.
foodblock_querySearch for FoodBlocks by type, ref, or heads. Returns matching blocks.
foodblock_tombstoneMark a FoodBlock for content erasure (GDPR compliance). Creates an observe.tombstone
foodblock_treeBuild the full provenance tree for a FoodBlock by following ALL refs recursively.
foodblock_updatewrite actionCreate a new version of an existing FoodBlock. FoodBlocks are append-only —
foodblock_validateValidate a FoodBlock against its declared schema or a provided schema.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Foodblock compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 94/100
- higher than 96% of 4,460 AI and agents servers
- Tools
- 17
- the typical AI and agents server has 6
- Tools that change things
- 29%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 25
- more than 11% of 1,538 AI and agents servers with a package
What its tools let an agent do: 12 read · 5 change
Install Foodblock in Claude Code, Cursor or VS Code
Runs npx -y foodblock-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add foodblock-mcp -- npx -y foodblock-mcp
What the publisher says
From the Foodblock repository's README, as published. We do not edit it. Read it on GitHub
FoodBlock
An MIT-licensed, content-addressed protocol for the food economy.
FoodBlock is the data primitive: type, state, refs plus six base types (actor, place, substance, transform, transfer, observe). It powers FoodX, an autonomous food network that people, robots, and machines use to know, act, exchange, and own.
One axiom. Three fields. Six base types. Every food industry operation.
{
"type": "substance.product",
"state": { "name": "Sourdough", "price": 4.50, "allergens": { "gluten": true } },
"refs": { "seller": "a1b2c3...", "inputs": ["flour_hash", "water_hash", "yeast_hash"] }
}id = SHA-256(canonical(type + state + refs))
Why
The food industry spans 14 sectors – farming, processing, distribution, retail, hospitality, regulation, sustainability, and more. Every sector models food data differently. There is no shared primitive.
FoodBlock is that primitive. One data structure that can represent a farm harvest, a restaurant menu item, a food safety certification, a cold chain reading, a grocery order, or a consumer review. Same three fields. Same hashing. Same protocol.
For AI Agents
FoodBlock is designed for human–machine collaboration. Full protocol documentation and AI integration resources:
- Protocol overview: https://foodx.network/protocol
- LLM quick reference: https://foodx.network/llms.txt
- Complete documentation: https://foodx.network/llms-full.txt
- Whitepaper (text): https://foodx.network/foodblock.md
- Technical spec (text): https://foodx.network/foodblock-technical-spec.md
- MCP server: mcp/ – 17 tools for Claude, Cursor, Windsurf, Gemini CLI, and any MCP-compatible agent
- OpenAI integration: openai/tools.json + openai/openapi.yaml – function calling and ChatGPT Custom GPTs
- Gemini integration: gemini/tools.json – function declarations for Gemini API, AI Studio, Vertex AI
- API base: https://api.foodx.world
- About FoodX: https://foodx.network
The Primitive
Every FoodBlock has exactly three fields:
Identity is derived from content: SHA-256(canonical(type + state + refs)). Same content always produces the same hash, regardless of where or when the block is created.
Six Base Types
Entities — things that exist:
- actor — farmer, restaurant, retailer, regulator, consumer, device
- place — farm, factory, store, warehouse, kitchen, vehicle
- substance — ingredient, product, meal, surplus, commodity
Actions — things that happen:
- transform — cooking, milling, harvesting, fermenting, composting
- transfer — sale, shipment, donation, booking, subscription
- observe — review, certification, inspection, post, sensor reading
Subtypes via dot notation: actor.producer, substance.product, observe.review, transfer.order.
Install
npm install foodblockQuick Start — fb()
The fastest way to use FoodBlock. Describe food in plain English, get structured blocks back.
const { fb } = require('foodblock')
fb("Sourdough bread, $4.50, organic, contains gluten")
// => { type: 'substance.product', state: { name: 'Sourdough bread', price: { value: 4.5, unit: 'USD' }, organic: true, allergens: { gluten: true } }, blocks: [...] }
fb("Amazing pizza at Luigi's, 5 stars")
// => { type: 'observe.review', state: { name: "Luigi's", rating: 5, text: "..." }, blocks: [...] }
fb("Green Acres Farm, 200 acres, organic wheat in Oregon")
// => { type: 'actor.producer', state: { name: 'Green Acres Farm', acreage: 200, crop: 'organic wheat', region: 'Oregon' }, blocks: [...] }Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Foodblock: common questions
- Is Foodblock MCP server safe?
- Yes, by our scan: it is graded A (94/100). Read the Foodblock safety report
- How do I install Foodblock?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Foodblock need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Foodblock maintained?
- The last commit was 42 days ago (2026-09-23). The latest release is v0.5.1.
- What can I use instead of Foodblock?
- Servers from other publishers that do the same job: Agent-Native Plan MCP server, Kiln MCP server and Charlotte MCP server.
- How does Foodblock compare with other AI and agents MCP servers?
- safety score 94/100 (higher than 96% of 4,460 AI and agents servers); tools 17 (the typical AI and agents server has 6); tools that change things 29% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Foodblock
Same job from other publishers: the closest match first, then the best rated.
- Agent-Native PlanStructured visual plans and PR recaps with diagrams, prototypes, annotations, and sharingnot reviewedEstablishedA
- KilnSpawn an object into existence: describe it, and your agent designs it, checks it, and 3D prints it.not reviewedEstablishedB
- CharlotteRenders web pages into structured, agent-readable representations using headless Chromium.not reviewedEstablishedA