D

Dine MCP

by benjamin-di · io.github.benjamin-di/dine-mcp

Enables MCP clients, the command line, and Python to find restaurants and check read-only table availability across SevenRooms, TableCheck, ResDiary, and other booking systems. It returns provider booking links and prefilled pages without booking, holding, or cancelling tables.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-benjamin-di-dine-mcp": {
      "command": "uvx",
      "args": [
        "dine-mcp"
      ],
      "env": {
        "DINE_APPS": "0",
        "DINE_HOST": "127.0.0.1",
        "DINE_PORT": "8000",
        "DINE_PLACES": "google",
        "DINE_OVERRIDES": "<VALUE>",
        "DINE_STATE_DIR": "$XDG_STATE_HOME/dine-mcp",
        "DINE_USERS_FILE": "<VALUE>",
        "MCP_BEARER_TOKEN": "<VALUE>",
        "DINE_PERSON_HEADER": "<VALUE>",
        "DINE_DEADLINE_SECONDS": "30",
        "DINE_WEBSITE_DISCOVERY": "0",
        "DINE_HTTP_ALLOWED_HOSTS": "localhost,127.0.0.1,[::1]",
        "DINE_GOOGLE_DAILY_BUDGET": "200",
        "DINE_HTTP_ALLOWED_ORIGINS": ""
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
DINE_APPS No Set to `1` to advertise the optional MCP Apps availability grid; text results remain available. Default: 0
DINE_HOST No HTTP listen address. Default: 127.0.0.1
DINE_PORT No HTTP listen port. Default: 8000
DINE_PLACES No Venue search source; `none` turns off venue search by name. Default: google
DINE_OVERRIDES No Operator switches in TOML, applied at start-up.
DINE_STATE_DIR No Directory for venues, budgets, breakers and the roster. Default: $XDG_STATE_HOME/dine-mcp
DINE_USERS_FILE No Path to the users file for standalone multi-user authentication; create users with `dine-mcp users add`.
MCP_BEARER_TOKEN No Bearer token for single-user HTTP authentication (one person, owner).
DINE_PERSON_HEADER No Header asserted by an authenticating gateway (e.g. X-Person) for gateway mode.
DINE_DEADLINE_SECONDS No End-to-end timeout for find/get/check and explicit canaries. Default: 30
DINE_WEBSITE_DISCOVERY No Set to `1` to enable bounded HTML discovery on the venue website supplied by the place source. Default: 0
DINE_HTTP_ALLOWED_HOSTS No Explicit HTTP Host allowlist; add your reverse proxy hostname. Default: localhost,127.0.0.1,[::1]
DINE_GOOGLE_DAILY_BUDGET No Google Maps requests per day. Default: 200
DINE_HTTP_ALLOWED_ORIGINS No Comma-separated exact cross-origin HTTP origins; same-origin is accepted.

Similar servers