Claude Desktop

The Dialogue MCP server exposes the corpus as tools that Claude Desktop — or any Model Context Protocol compatible client — can call directly during a conversation.

Setup

1. Get an API key

Contact ben@dialogue-ai.co to request access.

2. Configure Claude Desktop

Add the following to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

1{
2 "mcpServers": {
3 "dialogue": {
4 "command": "npx",
5 "args": ["-y", "@dialogue-ai/mcp"],
6 "env": {
7 "DIALOGUE_API_KEY": "your_api_key"
8 }
9 }
10 }
11}

Restart Claude Desktop. You will see “dialogue” appear in the tools list.


Available tools

get_corpus_overview

Returns aggregate statistics for the full corpus: total comment count, emotional register breakdown, life stage breakdown, top products mentioned, top behavioural signals, and top life events.

No parameters.


search_comments

Semantic search over the corpus using a natural language query. Returns the most relevant comments with their metadata and similarity score.

ParameterTypeRequiredDescription
querystringYesNatural language query, e.g. "fear of redundancy affecting mortgage decisions"
limitintegerNoNumber of results (1–50). Default: 10
thresholdnumberNoMinimum cosine similarity (0–1). Default: 0.4
emotional_registerenumNoFilter to a specific emotional tone
life_stageenumNoFilter to a specific life stage
productstringNoFilter to comments mentioning a specific product

get_quotes

Retrieves high-engagement verbatim quotes sorted by like count. Use this to find the most resonant audience voice for a given segment.

ParameterTypeRequiredDescription
emotional_registerenumNoFilter by emotional tone
life_stageenumNoFilter by life stage
life_eventstringNoe.g. partner_death, redundancy, first_home_purchase
productstringNoe.g. life_insurance, pension_sipp, mortgage
min_likesintegerNoMinimum like count. Default: 0
limitintegerNoNumber of results (1–50). Default: 10

filter_comments

Returns a paginated filtered slice of the corpus by any combination of emotional register, life stage, product, or behavioural signal. Use for quantitative analysis or to pull raw comments for a specific segment.

ParameterTypeRequiredDescription
emotional_registerstringNoFilter by emotional tone
life_stagestringNoFilter by life stage
productstringNoFilter by product mentioned
signalstringNoe.g. protection_gap_described, broker_distrust, estate_planning_intent
min_likesintegerNoMinimum like count. Default: 0
limitintegerNoResults per page (1–100). Default: 20
offsetintegerNoPagination offset. Default: 0

fetch_url

Fetches a public URL and returns the readable body copy, stripped of navigation and boilerplate. Use this before analysing a website against the corpus.

ParameterTypeRequiredDescription
urlstringYesFull URL to fetch, e.g. https://example.com/life-insurance

Example prompts

Once connected, ask Claude questions like:

“What are the most common fears UK adults have about retirement planning?”

“Find me the highest-engagement quotes from pre-retirement users worried about their pension.”

“What financial products are mentioned most often by people who have recently lost a partner?”

“Give me a breakdown of the emotional register across first-home buyers.”

“Fetch this page and analyse the copy against the corpus: https://example.com/product-page