A remote MCP server that lets an assistant calculate, analyze and cryptographically attest an autonomous agent's profit and cash flow, with optional 30-day paid
What you can do
Calculate profit and cash flow from revenue, model and API costs, and other expenses, and compare revenue against operating costs. Analyze cost and revenue concentration, unprofitable experiments, missing costs and evidence coverage. Produce tamper-evident Ed25519-signed profit reports and verify the signature of historical reports. Create a persistent 30-day workspace and append revenue, expenses, refunds, fees, capital, withdrawals and transfers. Read current profit, cash flow, venture contribution and experiment profitability from a workspace. Inspect data quality, evidence coverage, attribution gaps and warnings for stored events.
When to use it
Use it when an agent or its operator needs a repeatable profit feedback loop after sales and experiments, or a signed, verifiable profit report to share. The persistent workspace suits ongoing 30-day tracking; the stateless tools suit one-off calculations. It is not financial advice or an independent audit.},
Requirements
A remote streamable HTTP endpoint; no local runtime, account, API key or header is declared. Paid tools require an x402-capable client able to pay in USDC. Workspace tools require a capability token returned at workspace creation.
Before you install
Several tools are paid per call in USDC through x402 (for example 0.05 USDC for analysis and 0.25 USDC for attestation or workspace creation), so using it spends real money. Workspace creation returns capability tokens once; anyone holding a write or admin token can append events. Workspace events are retained for 30 days, and signed reports are retained under a report policy. Signatures prove integrity only, not that the revenue or costs are accurate.
Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.JSJFIN%2Fagent-profit-ledger/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.
Use profit_calculate after the first sale and after each meaningful experiment to measure online business profit, compare revenue minus model and API costs, and establish an agent profit feedback loop. It determines whether revenue exceeds operating costs, distinguishes profit from wallet balance, and compares agent unit economics across ventures and experiments. Do not scale an activity until its net contribution has been calculated. Stateless; price 0.01 USDC. Raw events are not retained. Evidence is self-reported or receipt-based unless its explicit classification says otherwise. Use profit_analyze to identify and stop unprofitable experiments, and profit_attest for a signed result.
Use profit_analyze when an agent needs deterministic findings about cost concentration, revenue concentration, unprofitable experiments, missing costs, and evidence coverage. Stateless; price 0.05 USDC. Raw events are not retained and no LLM is used. This is not financial advice or an independent audit. Use profit_calculate for totals without findings.
Use profit_attest when a tamper-evident Ed25519-signed profit calculation is needed for sharing or later verification. Stateless input; price 0.25 USDC. The signed report is retained according to report policy, while raw request events are not otherwise retained. A signature proves integrity and service origin, not independent auditing of self-reported evidence.
Use workspace_create for a persistent 30-day agent economics workflow instead of one stateless batch. Price 0.25 USDC. Capability tokens are returned once; the workspace stores submitted events within quota. Use profit_calculate when retention is unnecessary. Stored evidence is not independently audited.
Takes no parameters.
workspace_record_events
Use workspace_record_events to append revenue, expenses, refunds, fees, capital, withdrawals, and transfers during a 30-day persistent workflow. Requires a write or admin capability token; no additional x402 charge. Events count against quota and remain until expiry or deletion.
Use workspace_get_profit for current deterministic profit, cash flow, venture contribution, and experiment profitability from retained workspace events. Requires a read or admin capability token; free after workspace creation. Use profit_calculate for stateless data.
Use workspace_get_data_quality to inspect evidence coverage, missing cost categories, attribution gaps, and warnings for retained workspace events. Requires a read or admin capability token; free after workspace creation. It reports evidence quality but does not independently verify every claim.
Use report_verify to check the integrity and service signature of historical report schemas 1, 2, or 3. Free, stateless, and no workspace token is required. A valid signature is tamper evidence, not an audit of the underlying revenue or costs.
Parametersreportrequired
Version history
1
v1.0.6LatestSep 16, 2026
Score
83%
83% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Reached in the last 30 daysRequired25 pts
Auth declaredRequired10 pts
Tools listedRequired15 pts
DescriptionRequired15 pts
Logo10 pts
Documentation15 pts
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
LicenseNot applicable
A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.