flashalpha-mcp AGENTS.md

Operating instructions for FlashAlpha MCP, a server that provides market data tools for AI assistants. They describe supported symbols, access keys, subscription limits, and historical-data rules.

In plain words
What is it for?
Guiding live market lookups, historical and backtest questions, futures and equity symbol handling, access errors, and combinations of FlashAlpha tools.
Why use it?
They help an assistant choose the right market-data tool and avoid stale conclusions, invalid symbols, missing credentials, or repeated requests that will be rejected.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/flashalpha-lab/flashalpha-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/FlashAlpha-lab/flashalpha-mcp

Made for: Codex, OpenCode.

Per session 2,590 This file is loaded in full into every session.
When invoked 2,590 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.02590 $0.02590
Opus 5 $0.01295 $0.01295
Sonnet 5 $0.00518 $0.00518
Haiku 4.5 $0.00259 $0.00259

Measured yesterday against content hash 599803d2f959, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flashalpha-mcp AGENTS.md 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 yesterday.

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.

AGENTS.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — FlashAlpha MCP for AI agents

Guidance for AI agents and assistants (Claude, ChatGPT, Cursor, Windsurf, autonomous trading copilots) on when to call which FlashAlpha MCP tool. The server is hosted at https://lab.flashalpha.com/mcp (apiKey parameter) or /mcp-oauth (OAuth). Tool names below are the exact tools/call strings.

Operating rules

  • Pass apiKey on every /mcp call. On /mcp-oauth, the Bearer identity resolves the key — no apiKey parameter.
  • Tier gating is server-side. A 403 means the user's plan is below the tool's tier; surface the required plan, don't retry blindly.
  • Symbols are US equities/ETFs/indexes (e.g. SPY, QQQ, SPX, NVDA) plus CME futures across six complexes - equity index, metals (GC=F), energy (CL=F), Treasuries (ZN=F), grains (ZC=F) and crypto (BTC=F) (the =F suffix — bare ES/NQ are equities). Upper-case them.
  • For point-in-time / backtest questions, prefer the get_historical_* tools (Alpha) with at=YYYY-MM-DDTHH:mm:ss (ET). They mirror the live tools' shapes exactly. Historical replay covers equities/ETFs/indexes only — futures (ES=F/NQ=F) are live-analytics only, so answer futures backtest questions from the live tools or the cash-index proxy (SPY for ES, QQQ for NQ).
  • Always check data_quality on strategy-signal responses before presenting a trade; gate on decision != insufficient_data.

Data freshness: gate conclusions on data_as_of

Every successful JSON-object response carries data_as_of (per-feed provenance) and endpoint_version. Check it before stating a conclusion as current.

Identify the feeds the call actually depends on, and check only those.

Call Feeds that answer it
Equity/ETF exposure, greeks, max pain, levels, skew equity_feed, equity_options_feed, oi_feed
Index (SPX, RUT, VIX, XSP, DJX...) index_feed, index_options_feed, oi_feed
Futures (ES=F, NQ=F...) futures_feed, futures_options_feed
Order flow, 0DTE flow, dealer risk flow_feed
VIX / SKEW / MOVE / Fear & Greed context macro_feed

Read the full file on GitHub · 102 lines

Changes

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.

  1. yesterday First seen · 102 lines · 2,590 tokens per session scan A 599803d2f959

Subscribe to this mod's changes

flashalpha-mcp AGENTS.md is an instructions file published in the GitHub repository FlashAlpha-lab/flashalpha-mcp (1 stars, last pushed 6d ago), licensed MIT. It adds 2,590 tokens to every session, about $0.0129 per session on Opus 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-08-31.