Skip to main content

Claude Code

Connect the Fullstory MCP server to Claude Code to query your product data directly from the terminal.

Prerequisites

Setup

Add the MCP server using the claude mcp add command. Set a FULLSTORY_API_KEY environment variable first, then run (note the single quotes around the header value; this prevents your shell from expanding ${env:...} before Claude Code can):

export FULLSTORY_API_KEY=your_api_key_here
claude mcp add --transport http fullstory https://api.fullstory.com/mcp \
--header 'Authorization: Bearer ${env:FULLSTORY_API_KEY}'

Or add it manually to your Claude Code configuration file (~/.claude/mcp.json):

{
"mcpServers": {
"Fullstory": {
"url": "https://api.fullstory.com/mcp",
"headers": {
"Authorization": "Bearer ${env:FULLSTORY_API_KEY}"
}
}
}
}

Verify the connection

Start Claude Code and run:

/mcp

Fullstory should appear in the list of connected servers with its tools available.

Using the tools

Once connected, you can ask Claude Code questions about your product data in natural language:

  • "What are the top frustrations on our product right now?"
  • "Build a segment of users who rage clicked on the payment page and summarize 3 sessions for me."
  • "What's causing the most drop-off in our checkout funnel, and can you show me what those sessions look like?"

See Example Workflows for more patterns.