pyeconomics
Server Details
Tested, cited economics and finance models and data, with a provenance manifest per result.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- pyeconomics-dev/pyeconomics
- GitHub Stars
- 11
- ChatGPT
- –
- Claude
- –
TDQS
Score is being calculated.
Available Tools
21 toolscorporate_capital_budgetingCapital budgetingRead-onlyIdempotentInspect
Project NPV, IRR, MIRR, fractional payback, profitability index and equivalent annual annuity. Runs Capital budgeting (corporate.capital_budgeting, version 2) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. Every number carries its unit in the input schema; rates are decimals.
Inputs: rate (required), cash_flows (required), finance_rate, reinvestment_rate. Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs…
corporate_cost_of_capitalCost of capital and betaRead-onlyIdempotentInspect
CAPM, WACC with preferred equity, Hamada unlevering/relevering, and country risk premium. Runs Cost of capital and beta (corporate.cost_of_capital, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: capm, country_risk_premium, relever_beta, unlever_beta, wacc. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
derivatives_binomial_treeBinomial option treeRead-onlyIdempotentInspect
Cox-Ross-Rubinstein binomial prices of European and American calls and puts with a dividend yield, with delta and gamma from the tree. Runs Binomial option tree (derivatives.binomial_tree, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. Every number carries its unit in the input schema; rates are decimals.
Inputs: spot (required), years (required), strike (required), volatility (required), +5 more. Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs…
derivatives_black_scholes_mertonBlack-Scholes-Merton optionsRead-onlyIdempotentInspect
Price, Greeks and implied volatility of European calls and puts on an asset with a continuous dividend yield. Runs Black-Scholes-Merton options (derivatives.black_scholes_merton, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: implied_volatility, price. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
describe_modelModel descriptionRead-onlyIdempotentInspect
Describes one model: its formula, assumptions, limitations, references, examples, data bindings, input and output schemas (JSON Schema 2020-12, every number with its unit; rates are decimals) and its model card.
Inputs: model_id (required). Returns: A model's specification, its input and output schemas and its card.
equity_dividend_discountDividend discount valuationRead-onlyIdempotentInspect
Gordon, two-stage and H-model values, PVGO and the Gordon implied return. Runs Dividend discount valuation (equity.dividend_discount, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: gordon, h_model, implied_return, pvgo, two_stage. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
equity_free_cash_flowFree cash flow and DCF valuationRead-onlyIdempotentInspect
FCFF from EBIT, FCFE from net income, and one- or two-stage firm or equity valuation. Runs Free cash flow and DCF valuation (equity.free_cash_flow, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: fcfe, fcff, valuation. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
fixed_income_bond_pricingBond price and yieldRead-onlyIdempotentInspect
Full and flat price and accrued interest of a fixed-coupon bond from its yield, and its yield to maturity, to a call and to worst from its price. Runs Bond price and yield (fixed_income.bond_pricing, version 2) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: price_from_yield, yield_from_price, yield_to_call, yield_to_worst. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
fixed_income_curve_bootstrapSpot, par and forward curvesRead-onlyIdempotentInspect
Bootstrap spot rates and discount factors from par yields, par yields from spot rates, and forward rates between maturities. Runs Spot, par and forward curves (fixed_income.curve_bootstrap, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: forward_rate, from_par, from_spot. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
fixed_income_durationBond durationRead-onlyIdempotentInspect
Macaulay and modified duration from a yield, effective and key-rate duration off a spot curve, and DV01 of a fixed-coupon bond. Runs Bond duration (fixed_income.duration, version 2) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: dv01, effective, key_rate, macaulay_modified. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
foundations_returnsReturn toolkitRead-onlyIdempotentInspect
Holding-period, arithmetic, geometric, harmonic, annualized, log and real returns. Runs Return toolkit (foundations.returns, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: annualized, holding_period, log, means, real. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
foundations_time_valueTime value of moneyRead-onlyIdempotentInspect
Present and future values of sums, annuities and perpetuities, the five-key solve, NPV, IRR, XNPV, XIRR and amortization schedules. Runs Time value of money (foundations.time_value, version 2) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: amortization, future_value, irr, npv, present_value, solve, xirr, xnpv. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
get_seriesSeriesRead-onlyIdempotentInspect
Reads a series from the data catalog (a concept id) or from one provider (provider:series), with its source records and the attributions it must be shown with: at most the server's limit of observations, the most recent ones, optionally transformed (a change, a year-over-year change, a difference, a lag, a logarithm or a frequency conversion). Data whose terms do not let it reach an AI assistant is never returned.
Inputs: target (required), end, as_of, start, +3 more. Returns: The frame the target resolved to, with its source records, the candidates passe…
international_parity_conditionsInternational parity conditionsRead-onlyIdempotentInspect
Covered and uncovered interest parity, relative and absolute purchasing power parity, the international Fisher effect and real exchange rates. Runs International parity conditions (international.parity_conditions, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: absolute_ppp, covered_interest_parity, international_fisher, real_exchange_rate, relative_ppp, uncovered_interest_parity. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
list_sourcesData sourcesRead-onlyIdempotentInspect
Lists every data provider with its licence class, whether its terms let its data reach an AI assistant (llm_use) and whether this server's policy permits it, its attribution and its terms page.
Inputs: no named parameters. Returns: Every data provider with its licence class, its llm_use class, whether this ser…
macro_policy_ruleMonetary-policy rulesRead-onlyIdempotentInspect
Taylor (1993 and 1999), balanced-approach, shortfalls, adjusted and first-difference rules, smoothed and floored, on a gap measured in output or unemployment, and over forecast paths. Runs Monetary-policy rules (macro.policy_rule, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: adjusted_taylor_1993, balanced_approach, balanced_approach_shortfalls, first_difference, path, taylor_1993, taylor_1999. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
performance_risk_adjustedRisk-adjusted performanceRead-onlyIdempotentInspect
Sharpe, Sortino, Treynor, Jensen's alpha, information ratio and tracking error, M², Calmar and up- and down-capture ratios from return series. Runs Risk-adjusted performance (performance.risk_adjusted, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. Every number carries its unit in the input schema; rates are decimals.
Inputs: returns (required), periods_per_year (required), benchmark_returns (required), risk_free_returns, +1 more. Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs…
portfolio_mean_varianceMean-variance portfoliosRead-onlyIdempotentInspect
Portfolio expected return and risk, the minimum-variance frontier with short sales, and the minimum-variance and tangency portfolios. Runs Mean-variance portfolios (portfolio.mean_variance, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: frontier, minimum_variance, portfolio, tangency. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
risk_value_at_riskValue-at-risk and expected shortfallRead-onlyIdempotentInspect
VaR and expected shortfall as positive losses by the parametric normal, Cornish-Fisher, historical, Monte Carlo and RiskMetrics EWMA methods. Runs Value-at-risk and expected shortfall (risk.value_at_risk, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: cornish_fisher, ewma, historical, monte_carlo, parametric. Every number carries its unit in the input schema; rates are decimals.
Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs, the warnings and the manifest. A result larger than the server's limit is replaced by a notice: its summary, size and hash, and t…
run_modelModel runRead-onlyIdempotentInspect
Runs any registered model on its inputs, or binds its inputs to the data catalog first (as of a date, or the latest), and returns the canonical result: the validated inputs, the outputs, the warnings and the manifest of every source read. Data whose terms do not let it reach an AI assistant is never used.
Inputs: model_id (required), as_of, inputs, profile, +3 more. Returns: The run's result as canonical JSON (RFC 8785): the validated inputs and outputs…
search_modelsModel searchRead-onlyIdempotentInspect
Searches the registered economics and finance models by words in their ids, titles, tags, domains and summaries, best match first, or lists every model of a domain. Each entry gives the model's id, title, summary, domain, cost class and whether it can bind its inputs to data.
Inputs: limit, query, domain. Returns: The models found, best first, or every model listed, sorted by id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Create and evaluate versioned decision models with reproducible results and declared assumptions.
Discover, resolve, and query official Brazilian economic data with semantic search and provenance.
Macroeconomic and other official data from 170+ publishers, resolved from natural language with provenance.
Finance canon lookup plus 30 deterministic formulas, each with a verifiable receipt.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenance55 Concordance-tested financial models with published specs; responses cite assumptions and sources.MIT
- FlicenseNot gradedqualityBmaintenanceEnables deterministic financial research by retrieving price history, calculating risk metrics such as Sharpe ratio and drawdown, and generating cited, provenance-aware reports.-
- AlicenseBqualityDmaintenanceGives AI agents a persistent, structured memory of a research program's results, headline numerical outputs, papers, and computation artifacts, queried and updated through 17 MCP tools. It tracks each result's lifecycle status and evidence grade, links assumptions and papers to results, and serves files on demand with an append-only audit log.15MIT
- AlicenseNot gradedqualityDmaintenanceQuery money flows between state, citizens, and enterprises. Simulate policy changes, compare cohorts, and check data confidence directly from MCP-compatible tools.5 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.