IS

itsmostafa/schwab-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5 stars 3 forks 품질 72 트렌드 8MIT

Charles Schwab MCP - schwab 계정 잔액, 위치 및 장소 라이브 거래보기

개요

당신의 AI 대리인은 당신의 Schwab 계정, 잡아당기기 시장 자료 및 장소 거래를 읽습니다. Schwab Trader API의 단일, 초고속 이진 MCP 서버. Claude Desktop, Claude Code 및 Codex와 함께 작동합니다. 비공식 프로젝트. Charles Schwab & Co., Inc.의 또는 승인되지 않음 에이전트를 묻는 "내 포트폴리오는 어떻게 합니까?" 또는 "다음 금요일에 SPY 옵션 체인 모습은 무엇입니까?"는 CSV, 복사 투표 견적을 내보내거나 Schwab API에 대한 자신의 OAuth 클라이언트를 작성하는 것을 의미합니다. Schwab의 OAuth 흐름 혼자 (HTTPS 콜백, 30 분 액세스 토큰, 7 일 새로 고침 토큰)은 주말 프로젝트를 갖는 것이 충분합니다. schwab은 로그인 흐름, 상점을 처리하고 토큰을 새로 고침하고 MCP 도구로 계정, 주문, 거래 및 시장 데이터를 노출합니다. 1개의 바이너리를 설치하고, 일주일에 한 번 로그인하고, 에이전트는 라이브 데이터에 대한 질문에 응답 할 수 있습니다. 해당 이용 후기에 달린 코멘트가 없습니다.

개요(AI 번역)

스카프 MCP

당신의 AI 대리인은 당신의 Schwab 계정, 잡아당기기 시장 자료 및 장소 거래를 읽습니다. Schwab Trader API의 단일, 초고속 이진 MCP 서버. Claude Desktop, Claude Code 및 Codex와 함께 작동합니다.

비공식 프로젝트. Charles Schwab & Co., Inc.의 또는 승인되지 않음

왜 이 존재

문제: 에이전트를 묻는 “How is my Portfolio doing?” 또는 “다음 금요일에 SPY 옵션 체인 보기는 무엇입니까? CSV, 복사 투표 견적을 내보내거나 Schwab API에 대한 자신의 OAuth 클라이언트를 작성하는 것을 의미합니다. Schwab의 OAuth 흐름 혼자 (HTTPS 콜백, 30 분 액세스 토큰, 7 일 새로 고침 토큰)은 주말 프로젝트를 갖는 것이 충분합니다.

** 솔루션:** schwab]는 로그인 흐름, 상점 및 새로 고침 토큰을 처리하고, MCP 도구로 계정, 주문, 거래 및 시장 데이터를 노출합니다. 1개의 바이너리를 설치하고, 일주일에 한 번 로그인하고, 에이전트는 라이브 데이터에 대한 질문에 응답 할 수 있습니다. 해당 이용 후기에 달린 코멘트가 없습니다.

퀵스타트

** 1. 설치 ** (macOS 및 리눅스, amd64 및 arm64):

**2. 로그인 ** Schwab 앱 자격 증명 (그것을 얻는 방법):

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Schwab MCP

Let your AI agent read your Schwab accounts, pull market data, and place trades. A single, ultra-fast binary MCP server for the Schwab Trader API. Works with Claude Desktop, Claude Code, and Codex.

┌──────────────────┐   stdio (MCP)   ┌──────────┐   HTTPS + OAuth   ┌───────────────────┐
│  Claude / Codex  │ ──────────────▶ │  schwab  │ ────────────────▶ │ Schwab Trader API │
└──────────────────┘                 └──────────┘                   └───────────────────┘
                                          │
                                   token.json (auto-refreshed)

Unofficial project. Not affiliated with or endorsed by Charles Schwab & Co., Inc.

Why this exists

The problem: asking an agent “how is my portfolio doing?” or “what does the SPY option chain look like for next Friday?” means exporting CSVs, copy-pasting quotes, or writing your own OAuth client against the Schwab API. Schwab’s OAuth flow alone (HTTPS callback, 30-minute access tokens, 7-day refresh tokens) is enough to stall a weekend project.

The solution: schwab handles the login flow, stores and refreshes tokens for you, and exposes accounts, orders, transactions, and market data as MCP tools. Install one binary, log in once a week, and your agent can answer questions against live data. Trading stays off unless you explicitly turn it on.

Quickstart

1. Install (macOS and Linux, amd64 and arm64):

curl -fsSL https://raw.githubusercontent.com/itsmostafa/schwab-mcp/main/install.sh | sh

2. Log in with your Schwab app credentials (how to get them):

schwab login

It prompts for the App Key and Secret the first time and saves them to ~/.config/schwab/config.

3. Add it to Claude Code, Claude Desktop, and Codex (other clients below):

schwab mcp setup

Then ask: “Show my account balances and today’s top movers in the S&P 500.”

What you get

  • Zero-dependency install. One static Go binary with checksum-verified downloads and schwab update to upgrade in place.
  • Login without the OAuth headache. schwab login runs the HTTPS callback server for you and saves the token. Expired access tokens refresh automatically on the next request.
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "schwab": { "command": "/Users/you/.local/bin/schwab", "args": ["mcp"], "env": { "SCHWAB_APP_KEY": "your-app-key", "SCHWAB_APP_SECRET": "your-app-secret" } } } }