MCP server

Ask Claude, ChatGPT, Cursor or any MCP client about your AI spend, and have it run everything the dashboard does, or look up model prices with no sign-in.

Veqen runs two remote MCP servers over streamable HTTP:

For task selection, example questions and safe agent setup, see AI assistants.

Server URL Sign-in
Your ledger https://veqen-app.com/mcp OAuth (you pick the organization), or a full-access API key
Public price book https://veqen-app.com/mcp/prices None

Connect

Claude (web and desktop): Settings › Connectors › Add custom connector, URL https://veqen-app.com/mcp.

Claude Code:

claude mcp add --transport http veqen https://veqen-app.com/mcp

Cursor, ~/.cursor/mcp.json:

{ "mcpServers": { "veqen": { "url": "https://veqen-app.com/mcp" } } }

ChatGPT: add a connector (developer mode) with the same URL.

Your client opens Veqen's consent page. Sign in, choose the organization, and allow. The connection acts as you, with your current role; it stops working if you leave the organization, and you can disconnect it under Settings › AI assistants.

For clients without OAuth, or agents that run without a browser, send a full-access key: Authorization: Bearer vq_live_.... Signing in through the API gets you one by email code, with no dashboard. A full-access key acts as the person who made it, with their role (see API keys).

Everything the dashboard does is a tool here, so an assistant can run Veqen for you end to end. Tools that change something follow the signed-in person's role, are marked as writes so your client can ask before using them, and are recorded in the audit log as via: mcp. Those that act at a provider (shut_off_key, act_on_incident, confirm_shut_off) are also marked destructive and open-world. Ask your assistant to confirm before it changes anything: customer and feature names come from your app's tags, so treat them as data, not instructions.

Tools

Tool Answers Writes
get_spend "What did we spend this week, by feature?" Totals, a breakdown by any dimension, filters, run rate and forecast –
get_customer_cost "What does Acme cost us?" By feature and model, with margin when Stripe is connected –
get_margin "Which customers are unprofitable?" –
explain_change "Why did cost jump on Tuesday?" The models, features and customers that moved most –
estimate_switch "What if the summarizer used gpt-5-mini?" Re-prices your real volume –
reconciliation_status "Do our numbers match the Anthropic bill?" –
credits_expiring "Which credits expire this quarter?" –
get_runs "What does a typical support conversation cost?" Agent runs and the most expensive –
list_anomalies "Any spikes this week?" –
forecast_spend "Where will this month end?" With a likely range –
set_budget Creates a budget (owners and admins only) ✓
list_budgets, delete_budget Budgets and what's been spent against each (deleting: owners and admins) ✓
get_savings "How could we spend less?" Caching, batch, cheaper hosts and models, each with a monthly estimate –
get_run, get_spike One run's calls in order; what drove one anomaly –
list_credits, add_credits Provider credits (adding: owners, admins and finance) ✓
list_bills, add_bill Monthly invoices for reconciliation and the close (adding: owners, admins and finance) ✓
list_your_prices, set_price Negotiated discounts and custom prices (setting: owners, admins and finance) ✓
month_end, approve_month A month's journal entries, and approving them (owners, admins and finance) ✓
get_alerts Where alerts go and the alerts sent –
list_members, invite_member Members and roles; inviting someone (owners and admins) ✓
list_incidents, get_incident "Is anything spending that shouldn't be?" Open incidents with the key, amount and reasons, and one incident's timeline and hours –
list_provider_keys "Which keys have no owner, or haven't been used in a month?" (owners, admins, finance and security) –
coding_agent_spend "What did each person spend on work and coding agents last month?" Tool by tool at your contracts, as the person would see it in the dashboard –
chargeback "What does each cost center owe for work and coding agents in September?" (work and coding agents Enterprise) –
get_account Plan, role and this month's usage –
get_model_price, compare_models, list_models The price book, for every kind of model: "What does an 8-second Veo clip cost?" –
simulate_workload, plan_costs "What would 2M support replies and 3,000 hours of transcription cost a month, and who hosts it cheaper?" At list prices, or at your own –

Protection:

Tool Does Writes
shut_off_key Turns a provider key off, or back on. Where the provider can only delete keys it refuses until confirmed is true; with two-person shut-off, it waits for a second person (owners, admins and security) ✓
act_on_incident shut_off its key (or freeze an agent's card), resolve, expected (this was us), rotated (the key was replaced) or claim (start a refund claim) ✓
incident_evidence What a provider's refund process asks for, hour by hour –
list_claims, update_claim Refund claims, and marking one submitted, credited or denied ✓
waiting_shut_offs, confirm_shut_off Shut-offs waiting for a second person, and confirming one (not your own) ✓
set_key_owner Whose a provider key is, and which coding agent it's for ✓
protection_settings, change_protection_settings Shut-off access per provider, what each rule does, two-person shut-off and pooled patterns ✓
free_audit The latest audit, running one, and sharing its report ✓

Agent spend (beta):

Tool Does Writes
check_agent_spend Ask before an agent spends: allow, approval or deny from its mandate, recorded and matched to the transaction later ✓
record_agent_actions, agent_action What agents did, told afterwards; one action's answer, or cancelling it ✓
agent_spend_view Agents and this month's spend, one agent, transactions, actions, and the monthly controls report –
set_agent_policy An agent's mandate, or the default (*) ✓
agent_approvals Requests from agents waiting for a person, and approving or denying one ✓
vendors Your rates against list and what you agreed, agreements with pacing and notice dates, baselines and a month's savings report –
set_agreement, freeze_baseline Recording an agreement or replacing its terms; freezing a savings baseline ✓
agent_cards Cards, whose agent each is, freezing and unfreezing (destructive), confirming a waiting freeze, and a card's monthly limit at its platform ✓
card_platforms Connecting Stripe Issuing, Ramp, Brex or Mercury read-only, and freeze access for the first three ✓

Work and coding agents:

Tool Does Writes
limits, limit_request Engineers' and teams' limits (set them with set_budget, scope engineer or team), and asking for, approving or denying a higher one ✓
coding_tools, add_tool_invoice Each tool's cost, plan and invoice check, and entering an invoice ✓
seats, person_month Unused and departed seats; one person's month –
approve_chargeback Freezes a month's chargeback ✓
teams_and_people, set_team, set_team_manager, match_person Teams and cost centers, who manages which, and matching tool names to people ✓
set_contract, set_privacy What you pay each tool; naming people by email or account id ✓
import_csv A tool's usage export, an HR export of teams, who's who, a cloud billing export, or a rate card ✓

Running the organization:

Tool Does Writes
list_connections, connect_provider, disconnect_provider Provider billing and coding-tool connections, with the fields each needs ✓
api_keys Listing, creating, rotating and revoking send-only keys, and revoking any of yours; a new key is shown once. Full-access keys aren't made or rotated over MCP, so an assistant can't keep access after you disconnect it ✓
change_member A member's role, removing someone, cancelling an invitation ✓
set_alerts Slack, security's Slack channel, the webhook, and a test alert ✓
month_end_actions How costs are booked, reopening a month and posting a true-up ✓
delete_record, price_from_bill, saved_views Deleting a bill, credit, price, view, agreement or baseline; pricing a provider from its bill; saved breakdowns ✓
organization Its plans and checklist, renaming it, the audit log, leaving, and deleting it (owners, with a code emailed to them) ✓
billing Plans and subscription, a Stripe checkout or portal link, monthly or yearly, dropping a product, a partner offer's code, activating a purchase made through JVZoo (owners and admins) ✓
single_sign_on Linking domains, WorkOS's setup link, verification and requiring SSO (owners) ✓
access Veqen support's requests to view your dashboard (owners decide), and the AI assistants you connected ✓

The public server at /mcp/prices has the four price-book tools (get_model_price, compare_models, list_models and simulate_workload) and needs no account. The ledger server allows 5 tool calls a second per organization; the public simulator is limited to 10 a second in all. The read-only ledger tools also answer questions on the dashboard itself, through the AI analyst.

Two steps leave the conversation by design: paying, where billing returns a Stripe link for the person paying, since card details only go to Stripe; and connecting an identity provider for SSO, where single_sign_on returns WorkOS's setup page. Tools that take a credential (connect_provider, change_protection_settings) store it encrypted and never show it again, but it passes through your assistant on the way: use the API instead if your assistant's conversations are logged somewhere you wouldn't keep a secret.