defrr — Claude Code MCP server: revenue calculations and setup
defrr calculates revenue recognition schedules, contract waterfalls and usage charges. Connect it when you want an agent to work through contract terms.
claude mcp add --transport http defrr https://defrr.com/v1/mcpWhat defrr does
The server handles contracts, renewals, credits, cancellations and usage pricing. It returns monthly revenue and deferred-balance figures. For renewals, it can show the price change and a catch-up amount when processing happens after the renewal has begun. Separate tools cover repricing and cancellation.
You need a defrr API key to connect. The server uses Streamable HTTP, with authentication passed in a request header. Calls consume credits, but a failed call is refunded. Each waterfall request covers up to 50 contracts, so larger sets must be sent in batches with carry passed between calls.
What it helps with
- build a monthly revenue schedule from contract terms
- combine billing and deferred balances across contracts
- calculate a renewal price adjustment and catch-up
- price usage under volume or prepaid-credit plans
- cancel a contract or its latest renewal
Example prompts for the agent
- Calculate monthly revenue and deferred balances from these contract terms.
- Process this renewal and show the price change and catch-up for closed months.
- Price usage under volume pricing and flag any prepaid-credit overage.
How to install defrr
Platform CLI: remote server
claude mcp add --transport http defrr https://defrr.com/v1/mcpPlatform CLI: remote server
codex mcp add defrr --url https://defrr.com/v1/mcpConfig file
{
"mcpServers": {
"defrr": {
"url": "https://defrr.com/v1/mcp"
}
}
}Config file
{
"servers": {
"defrr": {
"type": "http",
"url": "https://defrr.com/v1/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http defrr https://defrr.com/v1/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about defrr
How do I install defrr in Claude Code?
Create a defrr API key, then run claude mcp add --transport http defrr https://defrr.com/v1/mcp and configure the key in the authorization header.
What does defrr do?
It calculates revenue recognition for contracts, renewals and usage pricing. Its tools also reprice or cancel agreements.
What does defrr need to work?
You need a defrr API key. A waterfall call handles up to 50 contracts; send larger sets in batches and pass carry between calls.