How-to guide

Connect an agent

Ask questions about a project from Claude, ChatGPT, or Codex over MCP.

Connect an AI agent to an analysed project and ask questions about it in the agent’s own window — Claude Code, Claude Desktop, the ChatGPT desktop app, Codex, or any agent that speaks MCP (the Model Context Protocol). The agent reads the quotes in your report, your sections and themes, your signals, and your codebook, and cites quote IDs you can look up.

Available in the macOS app and on the command line.

What the agent can see

  • The quotes in your report — verbatim, and curated: quotes you have hidden are excluded, and where you have edited a quote the agent reads your edited version.
  • Your report structure — sections, themes, and the signals from the Signals lens.
  • Your codebook — framework codes and your own codes, with their definitions and boundaries.
  • Speaker codes with names alongside, unless you anonymise — the same Anonymise word as the export surfaces. In the Mac app it’s one switch at the top of Settings → MCP Agents, applying to everything agents read, off by default; switch it on and agents see codes (p1, m1) only. The command line doesn’t yet expose this switch.

Quote text is sent exactly as it appears in your report. If a participant says their own name — or anyone else’s — inside a quote, that name goes to the agent. Redact personal information before connecting an agent if that matters for your study.

The connection is read-only: nothing an agent does can change your report, your quotes, or your codebook.

Install and start

Mac app

Two acts, and they are different sizes:

  1. Turn on agent access for the project. Right-click it in the sidebar and choose Turn On Agent Access — or use the project list in Settings → MCP Agents. This is per project: a project you never turn on can never be reached, no matter what agents you have installed. An antenna glyph on the project’s row shows it is shared — solid while the project is open (reachable now), pale while it isn’t.

  2. Connect your agent, once. Open Settings → MCP Agents (or Bristlenose → Connect an Agent…). For Claude Desktop, click Install Plugin… and confirm in Claude Desktop. For the ChatGPT desktop app, click Install Plugin… and install it on the page ChatGPT opens. Either way there’s no address, no token, no config file and no permission to grant, and nothing to redo when Bristlenose restarts. For other agents, pick the tab for yours and copy what it shows.

Agents read whichever project is selected in Bristlenose — switch project and the agent’s answers follow, among the projects you have turned on.

Command line

Connecting agents needs one extra package:

pip install 'bristlenose[mcp]'

Then serve the project you want to connect:

bristlenose serve interviews

Bristlenose prints the two things every agent needs — the MCP address and an authorization header:

MCP:    http://127.0.0.1:8484/mcp/

  Authorization: Bearer <your token>

Leave the server running while you use the agent.

Mac app

Both plugins find the running project by themselves, so a Bristlenose restart needs nothing redone. Only configs copied from the other tabs carry an address, and that address changes when Bristlenose restarts — re-copy after a relaunch.

Command line

The token changes each time you restart the server. If your agent reports 401 Unauthorized after a restart, reconnect it with the new token.

Connect your agent

Each agent writes those two values down slightly differently. Pick yours.

Claude Code

claude mcp add --transport http bristlenose http://127.0.0.1:8484/mcp/ \
  --header "Authorization: Bearer <your token>"

Type /mcp in Claude Code to confirm it connected.

Avoid --scope project. It writes your token into a .mcp.json file inside the project folder, which is easy to commit to a repository by accident.

Claude Desktop

Mac app

Settings → MCP Agents → Install Plugin… — Claude Desktop opens and asks you to confirm. Bristlenose then appears under Plugins in Claude Desktop. That’s the whole setup: there’s no config to edit, no permission to grant, and nothing to re-copy after a restart.

If you installed the plugin with an earlier version of Bristlenose, the same button reads Update Plugin…, and Claude replaces the old one.

Claude Desktop shows “Unknown developer” under Bristlenose. Bristlenose is installed from a file, not from Claude’s directory, so Claude has not checked who made it. The window you confirmed during installation said the same in a banner, and named the maker, Martin Storey, and the licence, AGPL-3.0. The label doesn’t mean the installation went wrong. The source code is public on GitHub.

Command line

Quit Claude Desktop first — it writes its own state into the config file, so edits made while it runs can be lost. Then add this to ~/Library/Application Support/Claude/claude_desktop_config.json (Settings → Developer → Edit Config opens it) as a new top-level key:

"mcpServers": {
  "bristlenose": {
    "url": "http://127.0.0.1:8484/mcp/",
    "headers": { "Authorization": "Bearer <your token>" }
  }
}

If the file already has an mcpServers key, merge the "bristlenose" entry into it instead. Relaunch Claude Desktop — Bristlenose appears under Settings → Developer.

ChatGPT and Codex

Mac app

Settings → MCP Agents → ChatGPT & Codex → Install Plugin…. ChatGPT opens on its own page for the Bristlenose plugin; click Install plugin there. That’s the whole setup. Bristlenose needs to be in your Applications folder for this — if it’s running from the disk image, the tab tells you to move it first.

Ask in Work mode, and start your question with @Bristlenose. ChatGPT only uses a plugin when the question mentions it, and Bristlenose isn’t available in Chat.

When Bristlenose updates, the tab shows Update Plugin…. ChatGPT doesn’t update a plugin in place, so on its page choose ⋯ → Uninstall, then Install plugin.

To connect by hand instead, open Or connect by hand on the same tab; it shows the configuration below.

Command line

The ChatGPT desktop app, the Codex CLI, and the Codex extension for VS Code share one configuration file, ~/.codex/config.toml. A single entry covers all three:

[mcp_servers.bristlenose]
url = "http://127.0.0.1:8484/mcp/"
http_headers = { "Authorization" = "Bearer <your token>" }

In the ChatGPT app you can also use Settings → MCP servers → Add server, choosing Streamable HTTP. Restart the app after saving, and ask in Work mode: Bristlenose isn’t available in Chat.

Any other agent

Give it the MCP address and the authorization header. Bristlenose works with any agent that supports MCP over streamable HTTP.

Agents that run in a web browser — claude.ai or chatgpt.com — cannot reach a server on your own machine. Use a desktop or command-line agent.

Try asking

  • Which codes are doing no work in this study?
  • Draft a top-line from the starred quotes only.
  • Where do participants disagree?
  • Which sections carry the strongest signals, and who is driving them?

If your agent says it can’t reach Bristlenose’s data

Open Bristlenose → Settings → MCP Agents and install the plugin again, then ask again. If that doesn’t help, check for a Bristlenose update.

On macOS 27 and later, a plugin installed by an older version of Bristlenose can be blocked from reading its data without any message from macOS. Update Plugin… replaces it with one that isn’t. A connection you set up by hand isn’t affected.

Good to know

  • One project at a time. In the Mac app, agents read whichever project is selected, among the projects you have turned on — never one you haven’t. On the command line, the agent sees the project you served, and only that one.
  • Your subscription pays for it. Questions run in the agent’s own window on your own plan, not through the API key Bristlenose uses for analysis.
  • What you ask becomes part of the agent’s history. The quotes an agent reads are held by that agent’s provider under their terms. Deleting the project later does not delete that history.
  • Quote text is data, not instructions. Bristlenose tells every agent this on connection. If you work with transcripts from a source you do not control, treat what an agent reports back with the same care you would give the transcript.