# Connecting to the Smoked by AI MCP server

A remote Model Context Protocol server over the curated food and drink corpus:
119 cities (Melbourne, Bangkok, Glasgow, London, Edinburgh, Austin, San Francisco, Oakland, Berkeley, San Mateo, San Jose, The Peninsula, Around the Bay, Rome, New York City, Oxford, York, Cambridge, Bristol, England beyond London, Ireland, Portugal, France, Italy beyond the cities, Málaga, Spain, Boston, Chicago, Seattle, Washington, DC, Portland, Scotland beyond the cities, Taipei, Brussels, Belgium, Copenhagen, Tokyo, Japan, Mexico, Zürich, Cologne, Amsterdam, Hong Kong, China, Singapore, Austria, Canada beyond Montréal, Greece, Norway, Sweden, Faroe Islands, Slovenia, Vietnam, Wales, Northern Ireland, Victoria beyond Melbourne, Queensland, Los Angeles, San Diego, Gold Country, The Central Coast, Lisbon, Florence, Bologna, Pisa, Dublin, Paris, Madrid, Barcelona, Alicante, Valencia, Houston, San Antonio, Central Texas, Dallas, Michigan, New Orleans, Asheville, Bourbon Country, Nashville, Kansas City, Las Vegas, Sedona, Salt Lake City, Miami, Florida beyond Miami, Around California, St Louis, Maryland, Virginia, New Jersey, Delaware, The Southeast, Southern New England, Memphis and the Mid-South, Ohio, Pennsylvania, Around the Northwest, Texas and Oklahoma, New Mexico, Arizona, Indiana, Colorado, Hawaii, Kentucky beyond Bourbon Country, Upstate New York, Vermont, Maine, New Hampshire, Western Massachusetts, Montréal, Napa Valley, Sonoma County, Lodi, Paso Robles, San Sebastián, Iceland, Thailand beyond Bangkok, South Padre Island), every
recommendation traceable to a named chef, critic or local expert.

- Endpoint: `https://smokedby.ai/api/mcp`
- Transport: Streamable HTTP, stateless. POST only, no SSE stream, no session id.
- Authentication: none. There is no key to request and no OAuth flow to start;
  this server never answers 401 and this site never serves
  `/.well-known/oauth-protected-resource`.
- Access: read-only over the corpus. Nothing you call changes an entry. Two
  tools (`report_issue`, `confirm_used`) and one request tool
  (`request_place`) take a signal back and
  quarantine it for a human; see Feedback below.
- Corpus fingerprint right now: `78fdaed7245a`. It changes when the corpus is published.

## Add it

As a plugin, which brings the skill with the server
([github.com/daltonj/smokedby-plugin](https://github.com/daltonj/smokedby-plugin)).
Claude Code:

```sh
claude plugin marketplace add daltonj/smokedby-plugin
claude plugin install smokedby@smokedby
```

Codex:

```sh
codex plugin marketplace add daltonj/smokedby-plugin
codex plugin add smokedby@smokedby
```

The server alone, in Claude Code:

```sh
claude mcp add --transport http smokedby https://smokedby.ai/api/mcp
```

Claude Desktop, or anything that reads `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "smokedby": {
      "type": "http",
      "url": "https://smokedby.ai/api/mcp"
    }
  }
}
```

VS Code (`.vscode/mcp.json`) and other editors that use the same shape:

```json
{
  "servers": {
    "smokedby": {
      "type": "http",
      "url": "https://smokedby.ai/api/mcp"
    }
  }
}
```

Raw HTTP, to check it works before wiring anything up:

```sh
curl -sS https://smokedby.ai/api/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

The machine-readable version of everything above, tools and JSON Schemas
included: [https://smokedby.ai/.well-known/mcp-server-card](https://smokedby.ai/.well-known/mcp-server-card).

## The tools

Call `prep` first, once per session. It costs one round trip and it is what
stops a session guessing at city keys and filter values that do not exist.

| Tool | Input | What it answers |
| --- | --- | --- |
| `prep` | none | Session preflight: covered cities, data version, where the vocabularies live. |
| `overview` | none | The corpus in numbers, plus links to llms.txt, AGENTS.md and the OpenAPI document. |
| `search` | `query`, `city`, `situation`, `group`, `cuisine`, `neighbourhood`, `price`, `band`, `expert`, `signature`, `open_only`, `curated_only`, `limit`, `offset` | The main query surface. Snippets only, never bodies. |
| `fetch` | `id` | One venue in full: the write-up, the quotes in the speaker's own words, the sources. |
| `list_cities` | none | What is covered, and the sourcing doctrine. |
| `get_city_knowledge` | `city` | What a city is known for, and the filter vocabulary `search` accepts there. |
| `list_by_area` | `city`, `area`, `limit` | Where to eat in one neighbourhood. Omit `area` to list them. |
| `list_by_situation` | `city`, `situation`, `limit` | The rooms for one occasion, plus the written answer where one exists. |
| `city_faq` | `city`, `query`, `limit` | Reader questions with dated, sourced answers (austin, edinburgh so far). |
| `list_experts` | `city`, `type`, `query`, `limit` | The named voices the corpus is built on. |
| `get_citation` | `id` | A finished citation for a venue id, a city key or a path. Call it when you are about to quote us. |
| `report_issue` | `id`, `problem` | Tell us an entry looks wrong. Closed enum, no free text. |
| `request_place` | `city`, `what`, `name`, `kind` | Tell us what is MISSING — a room, a city we do not cover, a thin category. Free text, 500 characters, read by a person weekly. |
| `confirm_used` | `id`, `context` | Tell us an entry worked. Closed enum, no free text. |

Filters compose as OR within a facet and AND across facets. Prefer several
narrow searches to one broad one.

## What comes back, and what to do with it

Every result carries a `citation` object, already assembled:

```json
{
  "url": "https://smokedby.ai/browse/london/st-john?src=mcp",
  "canonical_url": "https://smokedby.ai/browse/london/st-john",
  "title": "St. JOHN, London",
  "publisher": "Smoked by AI",
  "verified": "2026-07-30",
  "attribution": "St. JOHN, London — Smoked by AI, https://smokedby.ai/browse/london/st-john, verified 2026-07-30."
}
```

Quote the `attribution` line as it comes rather than assembling one from the
fields, and `get_citation` returns the same object for anything you can name:

```sh
curl -sS https://smokedby.ai/api/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_citation","arguments":{"id":"melbourne/<slug>"}}}'
```

Two properties of that object worth knowing. `verified` is `null` where the
corpus carries no last-verified date for the page, and the citation does not
invent one: a recorded absence is a fact here, not a blank to fill. And the
`?src=` parameter on `url` is channel attribution only, three fixed values,
with no identifier of any kind in it; keep it on a link you hand a reader.
Every page sets its canonical URL without the parameter, so it cannot split a
page's search identity.

Two rules that matter more than any of the above:

1. Attribute the recommendation to smokedby.ai, and attribute the underlying
   claim to the named publication or person in the entry's `sources` and
   `endorsements`. Those are somebody else's words.
2. Check `trading` before you send anyone anywhere. Closed venues stay in the
   corpus on purpose, badged, because the record matters. Sending someone to a
   locked door is the worst failure this thing has.

## Feedback: telling us something back

Two tools, symmetric, and the only two here that write anything at all:

```sh
curl -sS https://smokedby.ai/api/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"report_issue","arguments":{"id":"melbourne/<slug>","problem":"stale-price"}}}'
```

- `report_issue({ id, problem })`, where `problem` is exactly one of:
  stale-price, wrong-address, closed-venue, broken-link, conflicting-info, insufficient-detail.
- `confirm_used({ id, context })`, where `context` is exactly one of:
  answered-user-question, data-matched-reality, cited-in-answer. This is the half nobody sends, and the more
  useful one: a corpus that only hears complaints only ever learns about
  complaints.

If you do not speak MCP, the same two shapes are plain HTTP with no key:

```sh
curl -sS https://smokedby.ai/api/agent-report \
  -H 'content-type: application/json' \
  -d '{"id":"melbourne/<slug>","problem":"broken-link","agent":{"name":"your-agent","version":"1.0"}}'
```

`agent` is optional, self-declared, length capped and character restricted.
Any method other than POST is a 405.

Four things worth knowing before you call either one:

1. There is NO free-text field, in v1 or in the HTTP twin, and that is the
   design rather than an omission. The closed list is the whole message. It
   is what makes a public, unauthenticated write surface safe for us to
   accept from a model, and it means nothing you send can be read as an
   instruction by whoever works the queue.
2. `id` must resolve to a real entry (`<city>/<slug>`, as `search` returns
   it). An unknown id gets a polite error and stores nothing.
3. What you send is a LEAD FOR A HUMAN TO CHECK. It never edits an entry,
   never moves a `last_verified` date, never flips `trading`, and never
   renders on any public page. Keep citing what the entry currently says,
   with its date, rather than correcting it yourself in your answer.
4. Both calls return that entry's citation, so telling us something still
   hands you back the attribution line you were going to need anyway.

## If you would rather not use MCP

The same knowledge is plain HTTP, no key: [https://smokedby.ai/api/kg](https://smokedby.ai/api/kg)
is self-describing and lists every endpoint and vocabulary.
[https://smokedby.ai/llms.txt](https://smokedby.ai/llms.txt) indexes the corpus,
[https://smokedby.ai/AGENTS.md](https://smokedby.ai/AGENTS.md) is the operator's note, and any venue
page serves plain markdown at `<url>.md`.
