Skip to main content

Model Context Protocol (MCP) Integration

Hindsight exposes its AI agent capabilities through the Model Context Protocol (MCP), allowing AI assistants to directly query your deal data, research competitors, and analyze pipeline metrics. Compatible with: Claude.ai, Claude Desktop, Claude Code, ChatGPT, Cursor, Cline, and any MCP-compatible client.

Setup


Reconnecting after an update

Hindsight MCP moved to OAuth sign-in in MCP 2.0. If you connected against the older preview server, the old connection won’t authenticate anymore — you need to reconnect once against the current server. A stale connection typically shows up as a login loop, a 401/invalid_token error, or tools that silently return nothing.
Claude has no in-place “reauthenticate” button for a custom connector. To re-sign-in you remove the old connector and add it again — editing an existing connector isn’t supported. Reconnecting is safe: it doesn’t touch your Hindsight data, only the local credential.
1. Remove the old connectorGo to Customize → Connectors, find the old Hindsight entry, open the menu, and click Remove.2. Add it againClick + → Add custom connector, set the URL to https://app.usehindsight.com/api/mcp, and click Add. (Desktop users can instead reinstall the hindsight.mcpb bundle.)3. Connect and sign inClick Connect. Claude opens your browser to sign in to Hindsight; if you belong to multiple orgs, pick the workspace for this connection.4. Re-check tool permissionsWith 2.0’s direct tool calls, you control which tools are exposed. After reconnecting, confirm the Hindsight tools you want are enabled in the connector’s settings.

Team & Enterprise workspaces

On Claude Team and Enterprise plans, individual members usually cannot add a custom connector themselves — an Owner (or Primary Owner) has to approve it for the organization first. If you don’t see an Add custom connector option, this is why.
1

An Owner adds Hindsight org-wide

In Claude, go to Organization settings → Connectors → Add, hover Custom, and choose Web. Enter the URL https://app.usehindsight.com/api/mcp and click Add. (Leave Advanced settings / OAuth Client ID & Secret blank — Hindsight’s OAuth is handled per user at connect time.)
2

Members connect individually

Once the Owner has added it, each member goes to Customize → Connectors, finds the Hindsight entry (marked with a Custom label), and clicks Connect to run their own OAuth sign-in and pick their workspace.
Access stays per user, not shared. Each member signs in as themselves and only sees the Hindsight org they select — the Owner enabling the connector doesn’t grant anyone access to Hindsight data. See the MCP 2.0 notes.
If your organization is on a plan where a member added a preview-era connector before Owner approval was required, that member should remove it (Customize → Connectors → ⋯ → Remove) and reconnect to the Owner-approved one so everyone is on the same server. For the authoritative admin steps, see Anthropic’s guides on getting started with custom connectors and using connectors.

Available Tools

The server exposes the verified deal layer as a focused set of tools, grouped below. Most workflows open with fetch_hindsight_context to learn the workspace’s competitors and deal stages, then branch into the relevant group. For the exact current surface — including parameters — call tools/list against the endpoint (see the Direct API tab above).

Context & schema

ToolDescription
fetch_hindsight_contextFetch competitors and deal stages needed to use the other tools. Usually the first call.
pull_schemaFetch the CRM field schema for your workspace — field names and types for the deal grid. Use before create_dataset.

Deals & pipeline

ToolDescription
select_dealFilter and list deals by criteria (competitor, stage, amount, date, owner, and more). Pass a conceptual semantic_query to rank matches by similarity to a description instead of paging by date. Returns lean rows for fast triage.
get_dealGet full details for specific deals by ID.
search_across_dealsSearch all deal documents across the entire pipeline.
search_deal_documentsDeep search within specific deals.
pull_full_documentFetch full document content by ID when retrieved chunks aren’t enough.

Competitive intelligence

ToolDescription
search_competitive_assetsSearch battlecards and competitive assets.
search_competitive_intelSearch pre-saved competitive intelligence.

Knowledge base

ToolDescription
search_knowledge_baseSearch your company’s messaging docs, playbooks, and positioning.

Live web research

ToolDescription
search_webLive web search for competitive and market research.
scrape_urlExtract content from a specific URL.
map_site_urlsDiscover and map the structure of a website.

Quantitative analysis

For win-rate, trend, and segment questions over the deal grid.
ToolDescription
create_datasetBuild a structured dataset from your deal pipeline.
analyze_dealgrid_subsetFilter and analyze a quantitative subset of the deal grid.
Typical flow: pull_schemacreate_datasetanalyze_dealgrid_subset.

Write back

ToolDescription
upload_deal_documentAttach a document to a deal — pass the text directly or a downloadable file URL (PDF, DOCX, audio, video).
upload_to_knowledge_baseUpload your own company’s docs, playbooks, case studies, or approved messaging to the knowledge base.
upload_competitive_intelSave competitor pricing, positioning, feature notes, or gathered news to the knowledge base.

How It Works

The tools read from Hindsight’s verified deal layer — one cross-referenced record per deal, built server-side by the Analyze Engine. Search and research tools return cited results grounded in your source documents and knowledge base; quantitative tools run structured queries against your exported deal grid and compute the metrics you ask for. Because retrieval and verification happen up front, your agent orchestrates clean, cited tools rather than re-deriving context from raw transcripts on every call. See the Platform Overview for how the verified layer is built.

Authentication

MCP requests authenticate using your Hindsight API key as a Bearer token. Keys are scoped to your organization — all tools operate on your org’s data only. Generate an API key from Settings → API Keys in the Hindsight app.