buzzabout docs
Tutorials

Connect MCP to Claude

Wire the Buzzabout MCP server into Claude using OAuth for interactive use, or an API key for headless agents.

Once Buzzabout is wired into Claude over MCP, you can research a market without leaving the chat: ask Claude to spin up a dataset, collect mentions across Reddit, X, TikTok and the rest, profile the audience, then ask follow-up questions in plain language — all driven from the same conversation. A developer wiring Buzzabout into Claude gets all eleven buzzabout__* tools, so an agent can collect, list, analyse and ask without a single hand-written API call. There are two ways to connect: OAuth for an interactive user in Claude Desktop or Claude.ai, and an x-api-key for headless or server-side agents. This tutorial covers both.

Prerequisites

  • To mint an API key: a Buzzabout account on the Business plan. API access is a Business plan feature — see the gotcha below for the upgrade path.
  • For the Claude.ai OAuth path: a Claude.ai workspace on a Team or Enterprise plan with custom integrations enabled. Claude Desktop works on any plan.
  • For the headless path: an MCP-capable host or SDK (Python mcp, or the TypeScript @modelcontextprotocol/sdk) that can send a custom x-api-key header.

Walkthrough

Decide your auth path

Pick how Claude will authenticate before you wire anything up:

  • OAuth — for an interactive person using Claude Desktop or Claude.ai. Claude runs a browser sign-in on first use and stores a JWT. This path unlocks all eleven buzzabout__* tools, including buzzabout__ask.
  • x-api-key — for a headless agent or server process. You mint a key in the web app and send it as a header on every request. This path covers the ten REST-mirror tools but not buzzabout__ask.

The MCP transport endpoint is the same for both: https://api.buzzabout.ai/mcp/.

API Keys

For the headless path, you mint the key in the web app. Open Settings and switch to the API Keys tab (this surface lives at /settings?tab=api-keys). The tab is described as Manage API keys for programmatic access to Buzzabout. If you have no keys yet, you'll see No API keys yet and Create your first API key to start using the Buzzabout API.

Create API Key

Click Create API Key, give it a descriptive name in the Key Name field (the placeholder reads e.g., Production API Key), then click Create Key. The button shows Creating... while it works.

When it finishes, the API Key Created dialog appears with the warning Make sure to copy your API key now. You won't be able to see it again!. Click Copy to Clipboard (it confirms with Copied!) and store the key somewhere safe. The value looks like bz_live_.... Click Done to close. Afterwards the list only shows Key ends with: ••• — there is no way to reveal the full value again.

Open the integration settings (OAuth)

For the interactive path, point Claude at the MCP transport URL:

  • Claude Desktop: Settings → Developer → Edit Config. Claude opens claude_desktop_config.json in your editor.
  • Claude.ai: Settings → Integrations → Add custom.

Add the Buzzabout server

Use the streamable HTTP transport and the trailing-slash URL https://api.buzzabout.ai/mcp/.

Add a buzzabout entry inside the existing mcpServers block:

claude_desktop_config.json
{
  "mcpServers": {
    "buzzabout": {
      "transport": "streamable-http",
      "url": "https://api.buzzabout.ai/mcp/"
    }
  }
}

In the Add custom dialog, set:

FieldValue
Namebuzzabout
URLhttps://api.buzzabout.ai/mcp/
AuthOAuth

Authorise

The first time Claude calls a tool, it opens a browser window to api.buzzabout.ai/mcp/oauth/authorize. Sign in with your Buzzabout account and Claude exchanges the redirect code for a JWT, which it stores locally. You won't see this prompt again until the token expires.

Wire a headless agent (API key)

If you took the x-api-key path instead, send a POST to https://api.buzzabout.ai/mcp/ with the x-api-key header on every request, or configure your MCP SDK's HTTP client to attach it. In Python that's the streamablehttp_client; in TypeScript it's the StreamableHTTPClientTransport, each with a custom header carrying your bz_live_... key.

The dual-auth middleware checks x-api-key first and falls back to Authorization: Bearer <jwt>. If neither resolves, the server returns 401 with a WWW-Authenticate header pointing at the OAuth metadata.

Verify

Open a new conversation and ask:

"Which Buzzabout tools do you have available?"

Claude should list the eleven buzzabout__* tools. Async tools like buzzabout__create_dataset_run and buzzabout__create_audience_dataset_run return a pending status, so the host LLM polls get_*_run until the status is completed or failed. Collection and analysis runs charge credits.

Now drive it from chat

With the tools connected, you can run a whole research loop in conversation. A good first prompt:

"Create a Buzzabout dataset for e-bike commuters, collect a few hundred mentions, then tell me the top complaints."

Claude will call buzzabout__create_dataset, kick off a collection run, poll until it finishes, then reach for buzzabout__ask (OAuth path) or buzzabout__list_mentions to read the results. From there the data is the same data the web app analyses — so the deeper extraction (pain points, feature requests, share of voice, audience and OCEAN profiles, trends) lives in the analysis tutorials below.

Gotchas

  • Trailing slash is required. Use https://api.buzzabout.ai/mcp/. The unslashed /mcp returns a 307 that strips the request body in many MCP clients, causing silent failures or empty tool lists.
  • Use the right host. The endpoint is api.buzzabout.ai/mcp/, not mcp.buzzabout.ai.
  • buzzabout__ask needs OAuth. It only works over an OAuth/JWT session. An x-api-key caller attempting it gets a structured forbidden error. The other ten tools work with either auth method.
  • API keys are shown once. When the dialog says Make sure to copy your API key now. You won't be able to see it again!, copy it immediately. Afterwards you only see Key ends with: •••.
  • API access is a Business plan feature. When it's unavailable the create button is replaced by an Upgrade plan button and the empty state reads API access is a Business plan feature.
  • Claude.ai custom integrations need Team or Enterprise. Free and Pro workspaces don't see the Add custom option. Claude Desktop has no such restriction.
  • No destructive MCP tools. There are no PATCH or DELETE tools over MCP — admin and destructive actions stay in the web app.

Next steps

On this page