跳到正文
FunCoding

pyeconomics

官方 MCP Registry 已收录

Tested, cited economics and finance models and data, with a provenance manifest per result.

Star
11
分类
金融
版本
v1.0.0
许可证
Apache-2.0
最近提交
2026年11月30日

pyeconomics: Empowering Economic Insight

pyeconomics

CI PyPI Licence OpenSSF Scorecard

pyeconomics provides 50 tested, cited economics and finance model families across 13 domains: foundations, fixed income, derivatives, international, equity, corporate, accounting, portfolio, performance, risk, econometrics, macroeconomics and asset pricing. The data platform adds 31 providers, 171 catalog concepts and live bindings with real-time vintages. Every model is served identically through the Python API, the pyeconomics command line, the REST API (pyeconomics serve), the MCP server (pyeconomics mcp), the web app and tabular or reproducibility-bundle exports. Typed inputs declare units and bounds; every result carries a reproducible provenance manifest. Rates and percentages are decimals: 0.05 means 5%.

1.0.0 is the stable release. Its public API follows Semantic Versioning: nothing in it changes incompatibly before 2.0.

Install

Python 3.12 or later:

pip install pyeconomics

Optional extras add econometrics, plotting, the REST API and the MCP server: pip install "pyeconomics[econometrics,plot,server,mcp]".

Use it

  • On the web. pyeconomics.dev has a page and a calculator for every model, a data explorer with a page for every catalog concept, and search. It serves the data sources whose terms allow it, from a snapshot at most a day old.
  • On your own machine. pip install "pyeconomics[app]", then pyeconomics serve, runs the same site at http://127.0.0.1:8000, with every source and the whole data catalog on your own keys.
  • In an AI assistant. uvx --from "pyeconomics[mcp]" pyeconomics mcp runs the MCP server on your machine; the hosted server is at https://pyeconomics.dev/mcp.
  • From Python, the command line or an API. The documentation has tutorials, how-to guides and every model's card, and guides to the command line, REST API, MCP server, exports, AI narrative, data and keys.

The release notes list what 1.0 contains and its known limitations. The project roadmap and architecture decisions record the plan.

pyeconomics 0.2.x

1.0 replaces the 0.2.x API. 0.2.6 was the last release of the 0.2.x line, four monetary-policy rules over FRED data, and it reached end of life with 1.0.0 on 2026-11-28: it receives no more fixes.

Not to be confused with

This project is not davidrpugh/pyeconomics (computational-economics course code from 2013–14) or pyecon.org (a site teaching Python for economics). The three share only the name.

Contributing and security

Licence

From 1.0, pyeconomics is licensed under the Apache License 2.0; see also NOTICE. Releases up to and including 0.2.x remain MIT-licensed.

Notices

As is; not investment advice. pyeconomics is for educational and informational use only, and is not registered with any regulator.

CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute. pyeconomics is not affiliated with, endorsed by, or a Prep Provider of CFA Institute.

同类 MCP Server

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k近 7 天新增 253 个 star

精选

CCXT

连接 100+ 交易所和预测市场,获取行情数据,管理订单和账户。

CCccxt/ccxt45k近 7 天新增 78 个 star

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k近 7 天新增 169 个 star

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k近 7 天新增 28 个 star

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k近 7 天新增 75 个 star

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k近 7 天新增 15 个 star