Installation and runtime selection
Yahoo and all other providers are included in the default installation. Use runtime options to select the tools you publish; all provider dependencies are installed together.
# Default full catalog: 125 tools.
uvx --from 'openmarkets@latest' openmarkets
# Opt into the 12-tool curated overview.
uvx --from 'openmarkets@latest' openmarkets --profile overview
# Publish SEC filings only.
uvx --from 'openmarkets@latest' openmarkets --profile sec
# Publish every WSJ tool, including tools in mixed modules.
uvx --from 'openmarkets@latest' openmarkets --profile full --providers wsj
# Select multiple modules.
uvx --from 'openmarkets@latest' openmarkets --modules sec,macroeconomics
For a persistent virtual environment:
python -m pip install openmarkets
openmarkets
For a source checkout, use uv sync --frozen --no-dev, then
uv run --frozen --no-dev openmarkets. Contributors can use uv sync --frozen
for the development dependencies too.
Providers
| Runtime provider ID | Published scope with --profile full --providers |
|---|---|
yahoo |
92 Yahoo-capable tools, including portfolio calculations |
wsj |
25 WSJ-capable market data and technical tools |
sec |
9 SEC EDGAR tools |
fred |
9 macroeconomic tools |
greenmarkets |
1 fertilizer index tool |
The distribution includes curl-cffi, yfinance, pandas, NumPy, and parser security
requirements alongside MCP and server dependencies. Use --providers to control
the published tools explicitly.
Modules and profiles
Module names in runtime configuration accept underscores or hyphens. Each module is also available as a profile.
| Module/profile | Providers |
|---|---|
analysis |
Yahoo |
commodities |
WSJ, Green Markets |
crypto |
Yahoo |
financials |
Yahoo |
fixed_income |
WSJ |
forex |
WSJ |
funds |
Yahoo |
holdings |
Yahoo |
macroeconomics |
FRED |
markets |
Yahoo, WSJ |
options |
Yahoo |
portfolio |
Yahoo |
screener |
Yahoo |
sec |
SEC |
sector_industry |
Yahoo |
stock |
Yahoo; shared history also supports WSJ |
technical_analysis |
Yahoo or WSJ prices; indicators computed locally |
Workflow profiles select individual tools, except macro and portfolio, which
include their complete specialist modules:
| Profile | Tools | Workflow |
|---|---|---|
overview |
12 | Asset summaries, news, fundamentals, screening, markets and rates |
research |
12 | Company fundamentals, estimates, ownership, filings and sector peers |
trading |
12 | Historical/intraday prices, technical indicators and options analytics |
portfolio |
9 | Portfolio risk, allocation, correlation, factors and backtesting |
macro |
28 | Macroeconomics, fixed income, forex, commodities and markets |
full (default) |
125 | Every module and tool |
The previous profile names remain accepted: minimal aliases overview,
equities aliases research, and quant aliases portfolio. These now expose
smaller workflows. To retain the previous broad access, choose full or select
complete modules explicitly.
uvx --from 'openmarkets@latest' openmarkets --profile research
uvx --from 'openmarkets@latest' openmarkets --profile trading
Selection rules
--profile chooses a workflow or a complete specialist module. --modules
replaces the entire profile selection, including its tool allowlist, with complete
modules from a comma-separated list. --providers then restricts tools
within the selected modules; its default is all. The corresponding environment
variables are OPENMARKETS_PROFILE, OPENMARKETS_MODULES, and
OPENMARKETS_PROVIDERS.
These settings apply to both stdio and HTTP servers. For example,
openmarkets --transport http --profile research selects the research catalog
for an HTTP server. Hosted endpoints expose the operator's configured catalog;
clients cannot change its profile through a tool call. Use MCP tools/list to inspect the catalog a hosted endpoint actually exposes.
For example, this command publishes nine WSJ tools from two modules without loading Yahoo:
uvx --from 'openmarkets@latest' openmarkets \
--modules stock,technical-analysis --providers wsj
Shared history, indicator and index tools remain published when either Yahoo or
WSJ is enabled. Their source argument chooses an enabled implementation; omitting
it prefers Yahoo for history/indicators and WSJ for index snapshots. Single-source
tools disappear when their provider is disabled. Source capabilities overlap, so
the provider tool counts above are not additive. Source selection never performs
automatic fallback after a failure. Selected providers with missing dependencies cause a
startup error with an installation command. Unknown selections are rejected.
Dependency preflight checks whether Python can locate the required modules; it
does not execute all imports or test binary compatibility, credentials, network
access, or upstream service health. Schema export and the health endpoint are
therefore not provider readiness checks.
Packaging and migration
A plain pip install openmarkets includes every provider's dependencies.
The distribution no longer publishes extras. Replace old extra-based package
requirements with openmarkets, retaining version constraints and runtime flags.
The plugin, Cursor install link, container, and MCP Registry launcher use this
plain installation. The console script names are unchanged.
Python-version markers retain the existing NumPy minimums for Python 3.11/3.12, 3.13, and 3.14. Development dependency groups remain separate from distribution requirements.
Python callers can import provider schemas and numerical helpers directly after a normal installation. Runtime filtering avoids loading unselected providers, but does not remove their installed dependencies.
Context usage
The opt-in overview profile avoids detailed statement schemas, raw option chains, and large aggregate reports. Workflow definitions are checked against catalog-size budgets. Actual model context depends on how the MCP client handles descriptions, input schemas, output schemas, and tool discovery; catalog size is not a token billing guarantee. Tool results, especially histories and news, consume context separately. Use short historical periods and bounded result counts where available.
Profiles are selected at startup. Change the launch arguments or environment and
restart/reconnect to change the exposed tools. Provider filtering only narrows the
selected profile: use --profile full --providers wsj for WSJ-backed tools, or
--profile sec for SEC tools (the overview profile contains no SEC tools).