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,084 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: Claude Code plugin machinery. Also seen: reads .claude/ paths; 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,084 This file is loaded in full into every session.
When invoked 7,084 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.07084 $0.07084
Opus 5 $0.03542 $0.03542
Sonnet 5 $0.01417 $0.01417
Haiku 4.5 $0.00708 $0.00708

Measured 2d ago against content hash 90e8f684d457, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 2d 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 · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 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 is installed separately (Chrome Web Store / Safari .dmg) 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 fetchproxy extension once (Chrome / Safari) instead of loading a per-MCP embedded extension. See https://github.com/chrischall/fetchproxy.
  • 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.

Commands

  • npm test — vitest, all mocked, no network. Must stay green.
  • npm run buildtsc --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.tsbooks 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.tsbooks + cancels a real Experience-mandatory slot (book_preview → book path; targets Cafe Pasqual's).
  • npx tsx scripts/probe-modify-experience.tsbooks → 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 · 239 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. 2d ago Changed · +1 lines · +130 tokens per session 90e8f684d457
  2. 3d ago Changed · +36 lines · +975 tokens per session abb3c8f99127
  3. 7d 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 (0 stars, last pushed yesterday), licensed MIT. It adds 7,084 tokens to every session, about $0.0354 per session on Opus 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

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens