API reference
Programmatic access, two surfaces
Everything ClosedLoop AI knows is reachable from code. Query product insights through the MCP's HTTP endpoint, the same tools your AI agents call, and push data in over authenticated webhooks. One workspace, documented tools, no surprise breaking changes.
- MCP over HTTP
- OAuth 2.1
- Webhook ingestion
Your first connection
The read surface is the MCP endpoint. Point any MCP-capable client (or your own code speaking the protocol) at the base URL; auth is OAuth 2.1, auto-discovered:
# US workspace
claude mcp add --transport http closedloop-ai https://mcp.closedloop.sh
# EU workspace
claude mcp add --transport http closedloop-ai https://eu.mcp.closedloop.shAny other MCP client works with the same URL. Cursor, Windsurf, Zed, or your own script: add the endpoint, authorize once in the browser, and every tool below is callable.
Built for builders
An open protocol on the way out, authenticated webhooks on the way in. The pieces you check before you commit to an integration.
MCP over HTTP
The Model Context Protocol on standard HTTP transport. Every insight, customer, and opportunity, queryable by tool call.
OAuth 2.1
Authorization-code flow with PKCE, auto-discovered from the endpoint. API keys authenticate webhook ingestion.
Webhooks in
Push surveys, reviews, and custom feedback into the pipeline over authenticated webhook endpoints provisioned in the app.
An API key carries your workspace access. Store it in a secret manager or an environment variable, never in client-side code or version control. Rotate a key the moment it may be exposed.
Referencetools
The tools you'll call first
Every MCP tool is callable from agents and scripts alike. A few of the workhorses, with the full reference in the docs:
| Tool | Description | Docs |
|---|---|---|
| get_overview | Aggregate counts, trends, and the shape of your feedback over a time window. | Docs |
| search_insights | Hybrid search across every product insight, with semantic matching and filters. | Docs |
| search_customers | Find customers by name, industry, deal state, churn risk, or insight volume. | Docs |
| search_opportunities | Automatically discovered product problems, ranked by business impact and revenue. | Docs |
| get_trends | Time-series volume for any topic, category, or feature area. | Docs |
Get started in 3 steps
From signup to your first tool call in under five minutes.
-
Sign up free
Create your workspace. No credit card required. API keys for webhook ingestion mint from the dashboard.
-
Connect your data
Connect Gong, Typeform, Slack, or any of our 44 native integrations, or push data in over webhooks.
-
Point your client at the MCP
Add
https://mcp.closedloop.shto your agent or script, authorize once, and start querying.