market-data
Skill0 starsChanged 3 months agoMITView on GitHub
Reference guide for the two market-data connectors this plugin depends on — the FMP (Financial Modeling Prep) MCP connector for prices, fundamentals, news and screening, and the Interactive Brokers (IBKR) MCP connector for live brokerage positions, allocation and performance. Use when constructing a connector call, when unsure which tool or endpoint provides a metric, or when a connector is unavailable.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- letom1176-spec/orchard-data-mcptheir own version, first seen Nov 15, 2026
- TermiX-official/cryptoclawtheir own version, first seen Oct 8, 2026
- IngAs8/ClaudeSkilltheir own version, first seen Sep 28, 2026
- davidromeo/tradeblocks-skillstheir own version, first seen Sep 28, 2026
- tradeblocks-org/tradeblocks-skillstheir own version, first seen Sep 28, 2026
- qunyou-agent/finance-skillstheir own version, first seen Jul 6, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- TermiX-official/cryptoclaw★ 100same name
- rebyteai-template/rebyte-skills★ 17same name
- gravity-technologies/grvt-skills★ 4same name
- qunyou-agent/finance-skills★ 4same name
- davidromeo/tradeblocks-skills★ 3same name
- tradeblocks-org/tradeblocks-skills★ 3same name
- kohoj/skills★ 1same name
- TimurTsedik/ru-market-analyst★ 1same name
- IngAs8/ClaudeSkill★ 0same name
- letom1176-spec/orchard-data-mcp★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- full-stock-analysisSkill
- portfolio-managementSkill
- pp-usageSkill
- quick-stock-analysisSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 178
Prefer type="ALL" over five separate get_pa_allocation calls.
- Very specific: line 194
If it returns nothing, retry with a shorter or singular form before concluding no match exists.
- Distinctive: line 204
Use watchlists to persist a shortlist of candidates back to the user's IBKR account.
- Distinctive: line 218
Never silently degrade — say which connector is unavailable and what that costs.
- Distinctive: line 220
FMP unavailable: stop. Fundamental and technical analysis without it would be guesswork.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Market Data Connectors
This plugin gets all market and portfolio data from two MCP connectors. Do not
substitute scraped web pages, yfinance, or any other library for these — WebSearch is
a supplement for narrative context only (news colour, management commentary), never a
source of numbers that a connector can provide.
| Need | Connector |
| Quotes, fundamentals, ratios, estimates, news, screening | FMP |
| Your actual holdings, cash, allocation, performance, watchlists | IBKR |
Both are configured by the user in Claude (Connectors / MCP settings), not by this
plugin. This repository intentionally ships no .mcp.json.
FMP connector
Each FMP tool is a family: you pass an endpoint plus that endpoint's parameters.
Endpoint names are exact strings — do not invent them. period is "annual" or
"quarter"; limit caps the number of rows returned (rows come back newest-first).
quote — live prices
quote(endpoint="quote", symbol="AAPL")
quote(endpoint="batch-quote", symbols=["AAPL","MSFT"])
quote(endpoint="quote-short", symbol="AAPL")quote returns price, change, day range, 52-week range, volume, average volume,
market cap, trailing P/E, EPS, earnings announcement date, and previous close.
statements — financials, ratios, metrics
statements(endpoint="income-statement", symbol="AAPL", period="annual", limit=5)
statements(endpoint="balance-sheet-statement", symbol="AAPL", period="annual", limit=5)
statements(endpoint="cashflow-statement", symbol="AAPL", period="annual", limit=5)
statements(endpoint="metrics-ratios", symbol="AAPL", period="annual", limit=5)
statements(endpoint="key-metrics", symbol="AAPL", period="annual", limit=5)
statements(endpoint="financial-scores", symbol="AAPL")
statements(endpoint="income-statement-growth", symbol="AAPL", period="annual", limit=5)TTM variants: income-statements-ttm, balance-sheet-statements-ttm,
cashflow-statements-ttm, key-metrics-ttm, metrics-ratios-ttm.
Where the common metrics live:
| Metric | Endpoint | Field |
| Revenue | income-statement | revenue |
| Revenue growth YoY | income-statement-growth | growthRevenue |
| Net income, EPS | income-statement | netIncome, epsDiluted |
| Gross / operating / net margin | metrics-ratios | grossProfitMargin, operatingProfitMargin, netProfitMargin |
| ROE | metrics-ratios | returnOnEquity |
| ROIC | key-metrics | returnOnInvestedCapital |
| Current / quick ratio | metrics-ratios | currentRatio, quickRatio |
| Debt-to-equity, interest coverage | metrics-ratios | debtToEquityRatio, interestCoverageRatio |
| P/E, P/B, P/S, EV/EBITDA | metrics-ratios | priceToEarningsRatio, priceToBookRatio, priceToSalesRatio, enterpriseValueMultiple |
| Free cash flow | cashflow-statement | freeCashFlow |
| Cash & equivalents, inventory | balance-sheet-statement | cashAndCashEquivalents, inventory |
| Piotroski / Altman | financial-scores | piotroskiScore, altmanZScore |
Ratios are period-end, quotes are live. A P/E from metrics-ratios reflects the
price on the statement date. For a current P/E use quote → pe. Never mix the two in
one table without saying which is which.
company — profile and peers
company(endpoint="profile-symbol", symbol="AAPL") # sector, industry, description, beta, country
company(endpoint="peers", symbol="AAPL") # peer tickers for comparison
company(endpoint="market-cap", symbol="AAPL")analyst — ratings and estimates
analyst(endpoint="ratings-snapshot", symbol="AAPL")
analyst(endpoint="price-target-consensus", symbol="AAPL")
analyst(endpoint="grades-summary", symbol="AAPL")
analyst(endpoint="financial-estimates", symbol="AAPL", period="annual")Forward EPS growth for a PEG calculation comes from financial-estimates.
chart and technicalIndicators — technicals
chart(endpoint="historical-price-eod-light", symbol="AAPL", from_date="2025-01-01", to_date="2026-01-01")
chart(endpoint="historical-price-eod-full", symbol="AAPL", from_date="2025-06-01")
technicalIndicators(endpoint="simple-moving-average", symbol="AAPL", periodLength=200, timeframe="1day")
technicalIndicators(endpoint="relative-strength-index", symbol="AAPL", periodLength=14, timeframe="1day")
technicalIndicators(endpoint="average-directional-index", symbol="AAPL", periodLength=14, timeframe="1day")
technicalIndicators(endpoint="standard-deviation", symbol="AAPL", periodLength=20, timeframe="1day")timeframe is one of 1min, 5min, 15min, 30min, 1hour, 4hour, 1day.
technicalIndicators requires a paid FMP plan (Starter and above). On a free key it
returns an error — fall back to deriving moving averages and ranges from chart data
yourself, and say in the report that the indicator was computed locally.
MACD and Bollinger Bands are not offered by this connector. Derive them from chart
EOD closes (MACD = EMA12 − EMA26, signal = EMA9 of MACD; Bollinger = 20-day SMA ± 2σ,
using standard-deviation or a local calculation) or omit them and say so.
news, calendar, marketPerformance, search — discovery
news(endpoint="search-stock-news", symbols=["AAPL"], limit=20)
news(endpoint="search-press-releases", symbols=["AAPL"], limit=10)
news(endpoint="general-news", limit=50)
calendar(endpoint="earnings-calendar", from_date="2026-08-24", to_date="2026-08-31")
calendar(endpoint="earnings-company", symbol="AAPL", limit=8) # surprise history
calendar(endpoint="dividends-company", symbol="AAPL")
marketPerformance(endpoint="biggest-gainers")
marketPerformance(endpoint="most-active")
marketPerformance(endpoint="sector-performance-snapshot", date="2026-08-24")
marketPerformance(endpoint="sector-PE-snapshot", date="2026-08-24")
search(endpoint="search-symbol", query="Apple")
search(endpoint="search-name", query="Apple Inc")
search(endpoint="search-ISIN", isin="US0378331005")
search(endpoint="search-company-screener",
sector="Technology", marketCapMoreThan=2000000000,
betaLowerThan=1.5, isActivelyTrading=true, limit=50)Other available FMP tools, used less often: secFilings, earningsTranscript,
insiderTrades, institutionalOwnership/form13F, senate, etfAndMutualFunds,
economics, discountedCashFlow, indexes, forex, crypto, commodity, ESG,
tipranks, marketHours, commitmentOfTraders.
IBKR connector
IBKR tools take plain arguments, not an endpoint. They read the live brokerage
account — treat every number as real money.
Portfolio state
get_account_positions() # every open position: qty, avg cost, mkt value, unrealised P&L
get_account_balances() # cash and market value per currency
get_account_summary() # net liquidation value, buying power, margin, available funds
get_pa_allocation(type="ALL") # NAV split by asset class, sector, region, country, instrument
get_pa_performance_all_periods() # 1D / 7D / MTD / 1M / YTD / 1Y return series
get_account_orders() # working and recent orders
get_account_trades() # execution historyNotes that matter when reporting:
get_pa_allocationweights sum to 1.0 within each bucket, and the long-side denominator differs per dimension (netted of shorts forASSET_CLASSandFINANCIAL_INSTRUMENT, gross forSECTOR/REGION/COUNTRY). Do not compare percentages across dimensions as if they shared a base.short_positionsis absent when there are no shorts — null-check it.- Item
idvalues are opaque; displayname. get_pa_performance_all_periodsreturnscpsas fractions (-0.106= −10.6%), andportfolio_measuretells you whether it is time-weighted (TWR) or money-weighted (MWR). State which one you used.- Prefer
type="ALL"over five separateget_pa_allocationcalls.
Instruments, themes, market data
search_contracts(...) # resolve a ticker/name to a contract_id — needed by most tools below
get_price_snapshot(contract_id=265598, market_data_names=["last","bid_ask","change","volume"])
get_price_history(...) # historical OHLCV bars
get_company_themes(contract_id=265598, max_themes=5, max_companies=5)
get_company_connections(...) # products, countries, competitors, evidence text
search_investment_topics(query="battery", max=5) # → {key, name}; feed key to get_theme_details
get_theme_details(...) # the company list behind a themesearch_investment_topics is keyword-based and narrow: use short, singular nouns
("battery", not "electric vehicle batteries"; "robot", not "robotics companies").
If it returns nothing, retry with a shorter or singular form before concluding no match
exists. Never construct or modify a theme key — only pass keys the tool returned.
Watchlists and alerts
get_watchlists() / get_watchlist(...) / create_watchlist(...) / edit_watchlist(...)
get_alerts() / create_alert(...) / update_alert(...) / set_alert_status(...)Use watchlists to persist a shortlist of candidates back to the user's IBKR account.
Order tools — never call unprompted
create_order_instruction, delete_order_instruction and get_order_instructions
stage real orders. No skill or agent in this plugin may place, modify, or cancel an
order. Analysis output is a recommendation; the user executes it themselves. Only call
an order tool if the user gives an explicit, unambiguous instruction to do so in that
same turn, and confirm the full order details back to them first.
When a connector is missing
Never silently degrade — say which connector is unavailable and what that costs.
FMP unavailable: stop. Fundamental and technical analysis without it would be guesswork. Tell the user to enable the FMP connector.
IBKR unavailable: portfolio skills fall back to a Portfolio Performance XML file via
the pp CLI — invoke the pp-usage skill. If the user has neither, ask them to paste
holdings as a table (symbol, shares, cost basis) and mark the report as manual-input.
A single call fails or returns empty: retry once with adjusted parameters (shorter
query, wider date range, different endpoint). If it still fails, record the field as
N/A in the output and note the gap in the report. Never interpolate or invent a number.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

