Norish MCP Server
Norish MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with access to the Norish recipe management API.
Connect your LLM client to your personal Norish instance for recipe browsing, meal planning, and grocery list management — all through a standardized MCP interface.
Features
This server exposes the following tools:
Recipes
Tool | Description |
| Get a recipe by ID with ingredients and cooking steps |
| List recipes with optional search and pagination |
| Create a new recipe directly with structured data |
| Import a recipe from a URL (parses webpage) |
| Import a recipe from pasted text (plain text, JSON-LD, or YAML) |
Meal Planning
Tool | Description |
| Get planned recipes for today |
| Get planned recipes for the current week |
| Get planned recipes for the current month |
| Add a recipe to your meal plan for a specific date and slot |
| Remove a planned recipe item from your meal plan |
Grocery List
Tool | Description |
| List all items in the shopping list |
| Create a new grocery item |
| Mark a grocery item as done (checked off) |
| Uncheck a previously checked-off grocery item |
| Delete a grocery item from the shopping list |
| Assign a grocery item to a specific store |
Stores
Tool | Description |
| List all stores |
| Create a new store with name, color, and icon |
System
Tool | Description |
| Check the Norish API health (DB, parser service status) |
Prerequisites
Node.js v22+ or Docker Compose
A running Norish instance with API access
Your Norish
NORISH_API_KEY(generate from your Norish account settings)
Setup
1. Clone and install dependencies
git clone <this-repo-url>
cd norish-mcp
npm install2. Configure environment variables
Copy .env.example to .env and fill in the values:
cp .env.example .envVariable | Required | Description |
| Yes | The URL of your running Norish instance (e.g. |
| Yes | Your API key from the Norish instance |
| No (default: | Set to |
| Yes (when auth enabled) | Secret key for authenticating requests to this MCP server. Clients must send it as a |
| No | Comma-separated list of allowed hostnames for DNS rebinding protection (e.g., |
| No (default: 3001) | Port the MCP server listens on |
3. Build and run
Development mode:
npm run devProduction build:
npm run build
npm startThe server starts on http://localhost:<PORT> with the MCP endpoint at POST /mcp.
Docker (Recommended)
The easiest way to run this server is with Docker Compose using the official image:
# docker-compose.yml
services:
norish-mcp:
image: ghcr.io/kellojo/norish-mcp:latest
container_name: norish-mcp
ports:
- "3001:3001"
env_file: .envCreate a .env file in the same directory:
NORISH_API_URL=https://your-norish-instance.com:6002
NORISH_API_KEY=your-api-key-here
MCP_API_KEY=your-secret-mcp-key
PORT=3001Then start it:
docker compose up -dThe server will be available at http://localhost:3001 with the MCP endpoint at POST /mcp.
Running Directly
Pull and run without Docker Compose:
docker pull ghcr.io/kellojo/norish-mcp:latest
docker run -d \
--name norish-mcp \
-p 3001:3001 \
--env-file .env \
ghcr.io/kellojo/norish-mcp:latestBuilding from Source
If you prefer to build locally:
docker compose build
docker compose up -dAuthentication
By default, the server requires a Bearer token on every request:
Authorization: Bearer <MCP_API_KEY>Requests without a valid token are rejected with a 401 Unauthorized error before reaching the MCP handler. This prevents unauthenticated access when exposing the server publicly.
To disable authentication (e.g., for local-only development), set MCP_AUTH_ENABLED=false in your .env. When disabled, no API key is required and clients can connect without an Authorization header.
Client Configuration
Claude Desktop (via mcp.json)
Add this to your Claude Desktop configuration (mcp.json):
{
"mcpServers": {
"norish": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"NORISH_API_URL": "https://your-norish-instance.com:6002",
"NORISH_API_KEY": "<your-norish-api-key>",
"MCP_API_KEY": "<your-mcp-api-key>"
}
}
}
}Other MCP Clients
For HTTP-based clients, point them to the server's endpoint with the auth header:
URL:
http://localhost:<PORT>/mcpMethod:
POSTHeaders:
Authorization: Bearer <MCP_API_KEY>,Content-Type: application/json
License
MIT