
lancelot
watch.lancelot/lancelot
AI cost and margin per customer. Find who loses you money and approve fixes from chat.
Documentation
Lancelot MCP server
Ask your AI assistant which customers cost you more in AI than they pay, and approve the fix from the chat.
Lancelot is the AI margin agent for companies that sell AI features. It joins each customer's AI cost to what they pay you, shows the real margin per customer, plan, feature and model, and fixes the customers losing you money.
This is Lancelot's remote MCP server. Add one URL to Claude, ChatGPT, Cursor, VS Code or any MCP client, sign in to Lancelot, and ask about your margins in plain language. Nothing to install or run.
https://app.lancelot.watch/mcp
Ask things like
- "How's my AI margin this month?"
- "Which customers cost more than they pay?"
- "Why did our AI cost jump on Tuesday?"
- "Tell me about Acme: what are they costing us, and on which model?"
- "What's Lancelot waiting on me to approve?"
- "Approve the fix for Kite Labs."
- "Give me last week's briefing."
Connect
You need a Lancelot account (7 days free). The first time your assistant calls Lancelot, it opens a Lancelot sign-in page. The assistant then acts as you, with your role in your workspace.
Claude (claude.ai and the desktop app): Settings → Connectors → Add custom connector, paste the URL, then sign in.
Claude Code
claude mcp add --transport http lancelot https://app.lancelot.watch/mcp
ChatGPT: add a custom connector with the URL (Settings → Connectors), then sign in.
Cursor: in ~/.cursor/mcp.json
{
"mcpServers": {
"lancelot": { "url": "https://app.lancelot.watch/mcp" }
}
}
VS Code: in .vscode/mcp.json
{
"servers": {
"lancelot": { "type": "http", "url": "https://app.lancelot.watch/mcp" }
}
}
Any other client: Streamable HTTP transport, OAuth 2.1 with PKCE and dynamic client registration. Discovery: https://app.lancelot.watch/.well-known/oauth-protected-resource/mcp.
Tools
| Tool | What it does | Changes anything |
|---|---|---|
list_products | Your products, and which have test data | No |
get_overview | This month so far: revenue, AI cost, margin, customers losing money, where the AI spend goes, what Lancelot recovered | No |
list_customers | Customers by margin. Filter to those losing money, at risk, or not matched to billing; search and sort | No |
get_customer | One customer: plan, revenue, AI cost, margin, cost by model and feature, 30 days of daily cost, and what Lancelot did for them | No |
get_daily_costs | AI cost per day with the top models, features and customers, and the biggest day-over-day jumps | No |
list_actions | Fixes Lancelot proposed or made, and problems it's still looking into | No |
get_weekly_briefing | Last week's headline numbers, the one thing to do, and the customers losing the most | No |
approve_action | Approve a proposed fix. It takes effect right away | Yes |
dismiss_action | Dismiss a proposed fix | Yes |
undo_action | Undo a fix Lancelot applied, restoring the customer's previous settings | Yes |
Approve and undo tell your assistant to confirm with you before calling them. All three are marked as changing data, so clients that ask before such calls will ask you.
Security
- Your workspace only. Every call is limited to your workspace and re-checks your role and plan.
- Your role applies. Viewers get the read tools only. Only roles that can approve fixes can approve, dismiss or undo.
- No passwords or keys in your assistant. Sign-in is OAuth with PKCE; tokens are stored hashed, refresh tokens rotate, and reusing an old one revokes the session.
- Fair use: up to 120 calls a minute.
Learn more
- Lancelot
- MCP docs
- Questions: support@lancelot.watch
This repository holds the MCP Registry listing (server.json) and this README. The server itself is hosted by Lancelot.
No installation packages available.