Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jamespud/yahoo-stock-mcp --skill stock-data-setupgit clone --depth 1 https://github.com/jamespud/yahoo-stock-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jamespud/yahoo-stock-mcp/stock-data-setup)<a href="https://agentmods.dev/skills/jamespud/yahoo-stock-mcp/stock-data-setup"><img src="https://agentmods.dev/badge/skills/jamespud/yahoo-stock-mcp/stock-data-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jamespud/yahoo-stock-mcp/stock-data-setup"><img src="https://agentmods.dev/badge/skills/jamespud/yahoo-stock-mcp/stock-data-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01335 |
| Opus 5.5 | $0.00035 | $0.00534 |
| Sonnet 5.5 | $0.00017 | $0.00267 |
| Haiku 4.5 | $0.00009 | $0.00134 |
Grade A, and why
stock-data-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data setup and diagnosis
Get the local snapshot into a usable state, then prove it. Every other skill assumes the database
already holds the rows it reads, so this is the skill that runs when a tool answers
instrument not found in DB, no sector data synced yet, or returns an empty list.
Read references/data-policy.md first - in particular the sections on partial syncs and on provider access denial, which govern how failures are reported.
MCP tools used
sync_stock- sync one symbol;mode: "full"backfills complete history,mode: "incremental"fetches only new data;intradayoptionally pulls minute barssync_sectors- sync the 11 GICS sector ETFs plus SPY benchmark and their top-holding constituentssearch_symbol- check whether a symbol is already stored before syncingget_quote- verify what landed:latestBar.trade_date,currency,syncedAtget_sector_performance- verify sector data landed (asOf, ranked rows)
CLI surface
The same operations exist as CLI commands for setting up a host that has no MCP client yet. Run
these where the agent has shell access; the package requires Node.js 20 or newer. Use
npx yahoo-stock-mcp <command> if the binary is not installed globally.
| Command | Purpose |
|---|---|
yahoo-stock-mcp db:init |
create the database if missing, then install the bootstrap schema and all migrations |
yahoo-stock-mcp db:migrate |
apply pending migrations to an existing database |
yahoo-stock-mcp sync --symbol NVDA --full |
full history for one symbol |
yahoo-stock-mcp sync --symbol NVDA --intraday 15m |
also pull minute bars |
yahoo-stock-mcp sync --all --full |
every symbol already stored |
yahoo-stock-mcp sync --sectors |
sector ETFs and constituents (--no-members skips constituents) |
yahoo-stock-mcp server |
start the MCP server over stdio |
Configuration is read from YAHOO_STOCK_MCP_DATABASE_URL, or from the discrete
YAHOO_STOCK_MCP_DB_HOST / _PORT / _USER / _PASSWORD / _NAME variables when the URL is not
set. Provider behaviour is controlled by YAHOO_STOCK_MCP_PRIMARY_PROVIDER (yahoo by default),
YAHOO_STOCK_MCP_BARS_START_DATE, and YAHOO_STOCK_MCP_PROXY_URL. db:init needs
CREATE DATABASE privileges only when the database does not exist yet.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · -2 tokens per session ecd6fd738a52
- 13d ago Changed a3ad76e636f6
- 17d ago First seen · 82 lines · 89 tokens per session scan A 8a38fd921457
stock-data-setup is a skill published in the GitHub repository jamespud/yahoo-stock-mcp (0 stars, last pushed 5d ago), licensed MIT. It adds 87 tokens to every session and 1,335 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-28.
Other skills, from other repositories
accounting-software-selection
Scores shortlisted accounting packages against 57 evidence-backed fields, emitted as CSV, SQL, JSON Schema or Notion on request. Use for choosing accounting software.
accounting-audit-system-builder
Routes an accounting or audit request to the right module skill, from software selection through monthly closing, asking only what is missing. Use for books of accounts or audit files.
trading-manual-writer
A writing skill for creating sections of a trading manual for beginners and individual investors. It explains financial instruments or trading topics in Markdown and can include SVG illustrations.
multi-expert-analyzer
A method for examining complicated questions through several expert viewpoints, followed by fact-checking and criticism.
industry-chain-analyst
An industry research skill that maps the stages of a supply chain and examines the public companies, business models, relationships, strengths, risks, and competition at each stage.
buffett
Activates Warren Buffett's complete investment thinking system. The following scenarios must trigger it: analyzing any stock or company, evaluating investment opportunities, interpreting financial reports/annual reports/shareholder letters, assessing business moats or competitive advantages, evaluating management…