
blake365/options-chain
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
선택권 사슬 MCP 서버
개요
옵션 연구용 MCP 서버 읽기 전용. Pluggable 데이터 공급자 — 현재 Tradier와 Alpaca를 지원합니다. 무료 공개 API를 감싸는 서버와는 달리, 대신 중개인 데이터 공급자에 대해 이야기하므로 TRADIER TOKEN 또는 ALPACA API KEY ID + ALPACA SECRET KEY가 필요합니다. 무료 sandbox/paper 계정 작업 벌금 - 데이터 공급자 선택. credentials없이 시작, 서버는 즉시 종료하고 변수가 누락 된 인쇄. 이 모델 Context Protocol (MCP) 서버는 AI를 제공하여 거래 할 수있는 모든 능력없이 연구 옵션에 대한 도구를 제공합니다. - — 기호 + 만료에 대한 체인, 실제 볼륨 / Bid / 작업과 스팟의 비율 내에서 파업 옵션으로 필터링. 자동적으로 큰 타격에 트림은 payload LLM-friendly를 유지하기 위해. - - 검증된 만료일 - — 주식 기호 또는 단일 OCC 옵션 계약에 대한 최신 인용.
개요(AI 번역)
옵션 연구용 MCP 서버 읽기 전용. Pluggable 데이터 공급자 — 현재 Tradier와 Alpaca를 지원합니다.
**당신은 자신의 시장 데이터 자격 증명을 가져야한다. ** 서버와는 달리, 무료 공개 API,이 하나는 대신 중개 데이터 공급자에 이야기,그래서
TRADIER_TOKEN, 또는ALPACA_API_KEY_ID] +ALPACA_SECRET_KEY]가 필요합니다. 환경. 무료 sandbox/paper 계정 작업 벌금 — 보기 데이터 공급자 선택. credentials없이 시작, 서버가 즉시 종료하고 변수가 누락되는 인쇄물.
개요
이 모델 Context Protocol (MCP) 서버는 AI를 제공하여 거래 할 수있는 모든 능력없이 연구 옵션에 대한 도구를 제공합니다.
find-options-chain— 기호 + 만료에 대한 체인, 실제 볼륨/비드/스케와 파업으로 옵션을 필터링하고 포인트의 비율 내에서 파업. 자동적으로 큰 타격에 트림은 payload LLM-friendly를 유지하기 위해.find-option-expirations- 아래에서 유효한 만료일.get-quote- 주식 기호 또는 단일 OCC 옵션 계약에 대한 최신 인용. 공급자가 그들을 지원할 때 그리스 + IV를 포함합니다 (Alpaca는; Tradier는 사슬 보기를 요구합니다).
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
options-chain-mcp
Read-only MCP server for options research. Pluggable data provider — currently supports Tradier and Alpaca.
npx -y options-chain-mcp
You must bring your own market data credentials. Unlike a server that wraps a free public API, this one talks to a brokerage data provider on your behalf, so it needs a
TRADIER_TOKEN, or anALPACA_API_KEY_ID+ALPACA_SECRET_KEY, in its environment. Free sandbox/paper accounts work fine — see Choosing a data provider. Started without credentials, the server exits immediately and prints which variable is missing.
Overview
This Model Context Protocol (MCP) server gives AI assistants the tools to research options, without any ability to place trades:
find-options-chain— chain for a symbol + expiration, filtered to options with real volume/bid/ask and strikes within a percentage of spot. Automatically trims to significant strikes to keep the payload LLM-friendly.find-option-expirations— valid expiration dates for an underlying.get-quote— latest quote for a stock symbol or a single OCC option contract. Includes Greeks + IV when the provider supports them (Alpaca does; Tradier requires a chain lookup).historical-prices— OHLCV bars for a stock or OCC option over any range and interval.
The server runs two ways:
- Locally over stdio for Claude Desktop
- Remotely on Cloudflare Workers with OAuth 2.1, for Claude.ai and other MCP clients that speak the remote-connector protocol
Please note:
- Requires API credentials for whichever provider you use (free paper/sandbox accounts work)
- Market data on free plans is typically 15-min delayed
- Intended for informational purposes only
Users can run queries using natural language.
Why this server (instead of the official Tradier or Alpaca MCP)
Built for LLM context budgets. A typical underlying has hundreds of strikes across dozens of expirations. Calling a raw get_option_chain from the official Alpaca server returns all of them — every dead far-OTM strike, every penny-bid contract, every field the API exposes. That payload eats thousands of tokens per call and forces the model to filter the noise itself. This server filters server-side:
- Strikes are pre-filtered to a configurable percentage band around spot
- Dead contracts are dropped (
volume > 0 OR open_interest > 0andbid/ask > $0.10) - A “significant strikes” pass keeps round-numbered strikes at distance and finer-grained strikes near the money — mimicking how a human trader actually reads a chain
- Only the fields a research workflow needs are returned (no exchange codes, no raw timestamps, no boilerplate)
설치
npx -y options-chain-mcp설정
{
"mcpServers": {
"options-chain": {
"command": "npx",
"args": ["-y", "options-chain-mcp"],
"env": {
"TRADIER_TOKEN": "your_tradier_sandbox_token"
}
}
}
}