opentable-mcp: Instructions file for Claude Code

CLAUDE.md

opentable-mcp CLAUDE.md is an instructions file for Claude Code from chrischall/opentable-mcp. It costs 7,823 tokens per session, scanned A, original, MIT.

Instructions for working on opentable-mcp, a tool server that connects coding agents to OpenTable through the user's own browser session. It explains its browser connection options, commands, and structure.

In plain words
What is it for?
Use it when changing, testing, or troubleshooting opentable-mcp, including its WebSocket or mcp-chrome browser bridges.
Why use it?
It gives an agent the project-specific rules needed to use the correct browser connection and preserve the separation between the server and browser extension.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is chrischall/opentable-mcp's own configuration. It tells Claude Code how to work on opentable-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything opentable-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chrischall/opentable-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chrischall/opentable-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chrischall/opentable-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opentable-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrischall/opentable-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/chrischall/opentable-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chrischall/opentable-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/opentable-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opentable-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chrischall/opentable-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/opentable-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,823 This file is loaded in full into every session.
When invoked 7,823 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.07823 $0.07823
Opus 5.5 $0.03129 $0.03129
Sonnet 5.5 $0.01565 $0.01565
Haiku 4.5 $0.00782 $0.00782

Measured 3d ago against content hash 61ad818af6b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opentable-mcp CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Don't add new transport-layer libraries (cycletls, impersonate-curl, Playwright). v0.2 tried those, and each one builds a separate stand-in identity that the rest of the design has to compensate for. The whole point is
CLAUDE.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — opentable-mcp

Guidance for Claude working in this repo.

TL;DR

OpenTable MCP server with 13 tools (read + write), fronted by a pluggable browser bridge. Default transport: localhost WebSocket via @fetchproxy/server — the companion browser extension, ContextMint Bridge, is installed separately from https://github.com/nullnet-app/contextmint-bridge/releases (Chrome: unpacked zip; Safari not available yet — use Chrome for now) rather than embedded in this repo. Opt-in alternative: OT_BRIDGE=mcp-chrome routes through hangwin/mcp-chrome's HTTP MCP endpoint instead. Either way, every request rides the user's own browser session — their cookies, their TLS, their JS context — never ours.

Bridge selection

OT_BRIDGE env var picks the transport:

  • OT_BRIDGE=websocket (default) — wraps @fetchproxy/server's FetchproxyServer (WebSocket on 127.0.0.1:37149; override with OT_WS_PORT). The user installs the ContextMint Bridge extension once (Chrome / Safari) instead of loading a per-MCP embedded extension. See https://github.com/nullnet-app/contextmint-bridge/releases.
  • OT_BRIDGE=mcp-chrome — talks to hangwin/mcp-chrome at http://127.0.0.1:12306/mcp (override with OT_MCP_CHROME_URL). Requires mcp-chrome ≥ the release containing PR #348 — the tabUrl parameter on chrome_network_request. Pre-PR mcp-chrome versions are active-tab-only and break credentialed cross-origin fetches. Live-verification of this path is pending the upstream merge. Read-only: writes (book, modify, cancel, favorites) are refused up front — they need a CSRF-bearing relay tab this transport can't supply — and opentable_find_slots is unavailable (no graphql capability).

Commands

  • npm test — vitest, all mocked, no network. Must stay green.
  • npm run build — tsc --noEmit typecheck + esbuild bundle → dist/bundle.js.
  • npx tsc --noEmit — typecheck only (also runs as part of npm run build).
  • node dist/bundle.js — launch the MCP server over stdio (also starts the WS listener).
  • npx tsx scripts/probe-find-slots.ts — live GET round-trip via the extension.
  • npx tsx scripts/probe-favorites-toggle.ts — live add + remove favorite.
  • npx tsx scripts/probe-book-cancel.ts — books and immediately cancels a real reservation. Pick a restaurant that won't mind a 3-second booking.
  • npx tsx scripts/probe-book-cc-cancel.ts — same as above but for a CC-required slot (exercises the preview → book flow).
  • npx tsx scripts/probe-book-cancel-uk.ts — UK-region variant (databaseRegion, country handling).
  • npx tsx scripts/probe-book-cancel-experience.ts — books + cancels a real Experience-mandatory slot (book_preview → book path; targets Cafe Pasqual's).
  • npx tsx scripts/probe-modify-experience.ts — books → modifies (moves time) → cancels a real reservation; the live truth-check for the modify path.
  • npx tsx scripts/probe-find-slots-raw.ts — dumps the raw (unparsed) RestaurantsAvailability response via the graphql capability — useful for spotting fields parse-slots.ts currently drops. No persisted-query hash involved (see the graphql-capability gotcha in Hot spots/gotchas below).
  • npx tsx scripts/probe-slot-lock.ts [YYYY-MM-DD] [HH:MM] — exercises the slot-lock mutation via book_preview. Locks a slot for ~90s and makes NO reservation, so it's the safe way to check the write path end-to-end. Prints an explicit diagnosis on 403 (a relay tab without a CSRF token — see gotchas).
  • npx tsx scripts/probe-list-res.ts — dump upcoming reservations; useful after a probe to check for dangling ones.
  • npx tsx scripts/serve-only.ts — raw WS listener that logs every extension frame. Debugging only.
  • npx tsx scripts/e2e-phase-a.ts — read-only smoke (list reservations / profile / favorites).

Read the full file on GitHub · 248 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines · +106 tokens per session 61ad818af6b4
  2. 29d ago Changed · +5 lines · +449 tokens per session 7f5f4ad30058
  3. 1mo ago Changed · -8 tokens per session 475a3472def8
  4. 1mo ago Changed · +2 lines · +65 tokens per session a8afaba651c2
  5. 1mo ago Changed · +1 lines · +127 tokens per session d247d75e28cd
  6. 2mo ago Changed · +1 lines · +130 tokens per session 90e8f684d457
  7. 2mo ago Changed · +36 lines · +975 tokens per session abb3c8f99127
  8. 2mo ago First seen · 202 lines · 5,979 tokens per session scan A d8c156e25c03

Subscribe to this mod's changes

opentable-mcp CLAUDE.md is an instructions file published in the GitHub repository chrischall/opentable-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 7,823 tokens to every session, about $0.0313 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

opentable-mcp CLAUDE.md compared with instructions from other repositories

opentable-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentable-mcp CLAUDE.mdchrischall/opentable-mcpInstructions file13d agoMITA7,823Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot