Connect Claude Code to Performance Hub

On this page

Instructions current as of 26 November 2026 (AEST). Vendor MCP support changes frequently - verify against the linked sources if something looks different.

Claude Code connects to remote MCP servers over HTTP. Performance Hub exposes a Streamable HTTP endpoint.

Server details

https://app.performancehub.co/mcp

Add the server with a Bearer token

export PH_MCP_API_KEY='<YOUR_TOKEN>'

claude mcp add --transport http performance-hub https://app.performancehub.co/mcp \
  --header "Authorization: Bearer ${PH_MCP_API_KEY}"

Alternative header:

claude mcp add --transport http performance-hub https://app.performancehub.co/mcp \
  --header "x-mcp-api-key: ${PH_MCP_API_KEY}"

Scopes

ScopeFlagStored in
Local (default)(omit, or --scope local)~/.claude.json for the current project
Project--scope project.mcp.json in the project root (shareable)
User--scope user~/.claude.json for all projects

Example for every project on your machine:

claude mcp add --scope user --transport http performance-hub https://app.performancehub.co/mcp \
  --header "Authorization: Bearer ${PH_MCP_API_KEY}"

When you write JSON by hand (.mcp.json or ~/.claude.json), set "type": "http" (or "streamable-http") on the entry. An entry with a url and no type is treated as stdio and is skipped.

OAuth option

If you prefer OAuth instead of a static key, add the server without a header and complete sign-in when Claude Code prompts you (/mcp → Authenticate, or claude mcp login performance-hub).

Verify

claude mcp list

In a Claude Code session, open /mcp and confirm Performance Hub shows as connected, then ask it to list available tools.

Sources