MCP Server
Connect Claude Code, Cursor, or Codex to your Lucius financial data with OAuth — read-only tools for burn, runway, invoices, and ledger.
Server URL
https://api.lucius.finance/mcpTransport: Streamable HTTP · Auth: OAuth 2.1 (PKCE)
How it works
- Add the server URL in your agent (see below).
- Your browser opens the Lucius login / consent page.
- Pick your entity (if you have more than one) and approve scopes.
- The agent receives a token and can call Lucius tools.
Revoke access anytime in the Lucius dashboard → Settings → Connected Agents.
Install in your agent
Fastest: Add to Cursor — click the link, confirm install, then complete OAuth when prompted.
Or add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"lucius": {
"url": "https://api.lucius.finance/mcp"
}
}
}Or use the UI: Cursor MCP docs → Settings → Tools & MCP → Add server → paste the URL above.
After adding, restart Cursor if tools don't appear. First tool call triggers the OAuth browser flow.
Run in your terminal (Claude Code MCP docs):
claude mcp add --transport http lucius https://api.lucius.finance/mcpStart a Claude Code session and ask a financial question — your browser opens for Lucius login and consent.
Useful commands:
claude mcp list # verify lucius is registered
claude mcp remove lucius # disconnectAdd the server (Codex MCP reference):
codex mcp add lucius --url https://api.lucius.finance/mcpAuthenticate (OAuth browser flow):
codex mcp login luciusStart Codex (codex) and run /mcp to confirm lucius is connected.
Or edit ~/.codex/config.toml:
[mcp_servers.lucius]
url = "https://api.lucius.finance/mcp"For Claude on the web (Claude connectors):
- Open Settings → Connectors
- Click Add connector
- Name:
Lucius - URL:
https://api.lucius.finance/mcp - Complete OAuth when Claude first uses the connector
Requires a Claude plan that supports custom connectors.
Example prompts
Once connected, try:
- "What's our cash position and cash net burn?"
- "Top 10 expenses this year — which vendors drove the increase?"
- "Which invoices are overdue and by how much?"
- "Summarize Q1 P&L and explain the biggest drivers."
- "How much did we spend on payroll vs last quarter?"
Agents can chain tools automatically — e.g. burn spike → costs breakdown → transactions for a specific account.
Scopes
| Scope | Access |
|---|---|
read:analytics | Burn, runway, revenue trends, forecasts |
read:reports | P&L, balance sheet, cash flow, deferred revenue |
read:transactions | Bank balances and transactions |
read:invoices | Receivables, payables, customers, vendors, contracts |
read:ledger | Journal entries, chart of accounts, account activity |
Scopes granted at consent are capped by your org role in Lucius.
What's next?
- Authentication — API keys for the Billing API (separate from MCP OAuth)
- Quickstart — Submit usage events via REST
- API Reference — Billing endpoints