🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@forkbit/mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forkbit/mcp

Official Model Context Protocol server for the Forkbit API.

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
40
-32.2%
Maintainers
1
Weekly downloads
 
Created
Source

@forkbit/mcp

Official Model Context Protocol server for the Forkbit API. Gives AI agents direct access to food search, nutrition parsing, and recipe analysis.

Install & run

FORKBIT_API_KEY=fkb_live_... npx @forkbit/mcp

Get an API key from your Forkbit dashboard. The server communicates over stdio and exits immediately with a clear error if FORKBIT_API_KEY is missing.

Optional: FORKBIT_BASE_URL overrides the API base URL (defaults to https://api.forkbit.io), useful for pointing at a local or staging API during development.

Claude Desktop setup

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "forkbit": {
      "command": "npx",
      "args": ["-y", "@forkbit/mcp"],
      "env": {
        "FORKBIT_API_KEY": "fkb_live_..."
      }
    }
  }
}

Tools

ToolWhat it doesCredit cost
search_foodsSearch the food database by name1 per call
get_foodFull nutrient/portion detail for one food by id1 per call
batch_get_foodsFull detail for up to 50 food ids in one call1 per id
parse_nutritionParse a free-text food/meal description into nutrition10 per call
analyze_recipeAnalyze a full recipe into total and per-serving nutrition10 per ingredient line (max 50)

Every tool description in the server itself states expected latency and when to prefer it over a sibling tool. Read those in your MCP client for the full guidance an agent sees.

License

MIT

Keywords

forkbit

FAQs

Package last updated on 10 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts