DCA FINANCE
API & embeddable tools
Public data and calculators for your own content.
Exact DCA fees through MCP
calculate_dca_fee_budget finds the minimum order for a fixed fee, percentage fee, fee-share cap and budget bounds. compare_dca_schedule_fees compares daily, weekly and monthly costs over 12 calendar months. Supply integer USD cents and basis points: 100 cents = $1, 10 basis points = 0.10%. Set locale=en or ru for localized source links. Both tools run the current formulas without accounts, prices, trades or saving, and return inputs, method version and sources.
GET /api/crypto/live?ids=bitcoin,ethereum
USD prices, 24-hour changes and source type. lastUpdated is provider price time; retrievedAt is retrieval time. change24h=null means unavailable, not 0%. source=fallback means there is no usable quote: usd=0 and lastUpdated=0 must not be used for valuation.
GET /api/crypto/backtest?id=bitcoin&from=…&to=…
Historical {ts, usd} points; from/to are Unix milliseconds. Availability and depth depend on CoinGecko.
Embed a saved DCA result
Save a result in the historical calculator, then expand its embed code. The card shows fixed figures with result and methodology links, without an editing form. The example below uses a published snapshot; copy the code for your own saved result. Set lang=en or lang=ru for the card language.
Compact card example
<iframe src="https://dca-finance.com/embed/dca-backtest?view=card&result=cdebe296efb8e1d1bbec929695b5b8ff5871ad992c58f9ac66d69d4bc806c1e0&lang=en" width="100%" height="600" loading="lazy" referrerpolicy="no-referrer" title="Saved DCA calculation" style="border:0"></iframe>
<p><a href="https://dca-finance.com/calculators/dca-backtest?result=cdebe296efb8e1d1bbec929695b5b8ff5871ad992c58f9ac66d69d4bc806c1e0">Verify this DCA Finance result</a> | <a href="https://dca-finance.com/methodology#saved-result-embed">Methodology</a></p>Embed the full calculator
<iframe src="https://dca-finance.com/embed/dca-backtest" width="100%" height="900" loading="lazy" title="DCA Finance backtest"></iframe>Connect DCA Finance to an assistant with MCP
The public MCP server lets an assistant call the same calculation functions used on the website. DCA Finance does not need an AI API key for these tools. The connection does not grant access to your account, screen or ledger, and does not automatically connect your private financial plan.
https://dca-finance.com/mcpConnect your assistant
Choose a client. All calculations use the same HTTPS endpoint; setup depends on the application.
Codex
Run these commands in your installed CLI client. They add the remote MCP server; this page does not execute commands on your computer. Public tools need no token or model API key from DCA Finance.
codex mcp add dcaFinance --url https://dca-finance.com/mcp
codex mcp listAfter connecting, ask the assistant to call get_methodology. To discuss your budget, provide the copied context; the server does not gain access to your ledger or account.
Transport: Streamable HTTP, protocol version 2025-11-25. Add this HTTPS URL to a client supporting remote MCP servers and select no authentication for these public tools. Custom connection availability depends on the client, account and workspace policy.
In ChatGPT, if custom MCP connections are available, create a connection with this URL and enable it in your chat. In Codex, use the command below. The ordinary Gemini button opens a chat for pasting context; it does not install an MCP connection.
codex mcp add dcaFinance --url https://dca-finance.com/mcpget_methodology— rules, limitations and methodology links.calculate_cashflow— calculate a monthly cash plan from supplied inputs without saving them.project_monthly_dca— project contributions using an assumed return, without market prices.calculate_dca_fee_budget— find the minimum positive-net order meeting a fee-share cap, using integer cents and basis points.compare_dca_schedule_fees— compare daily, weekly and monthly costs for one budget over 12 calendar months; three summaries without prices or a ledger.get_dca_research— retrieve either published report with its pinned data, observation period and edition fingerprint.get_saved_dca_result— read a verified public result by its shared ID; purchases are paginated up to 100 rows.
For the two fee tools, money uses integer USD cents: 100 means $1. Rates use integer basis points: 10 means 0.10%. The caller supplies the fees. The server runs the current formula and returns its version and EN/RU source links; it does not verify broker tariffs or dated cash availability.
Give the assistant the full saved-result URL. It can extract the result ID and retrieve parameters, totals, method version, source and timestamps. For an unsaved budget, use “Copy context”: it includes calculated results and parameters, without ledger entries.
Tools only read explicitly shared public results or calculate supplied inputs. There are no account writes, trades or searches across other users’ plans. Input is limited to 16 KB with a soft request-rate limit. The API does not promise access to the provider’s entire multiyear history.
Official ChatGPT connection instructions