SS

sudowealth/schwab-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

84 stars 46 forks Качество 57 Тренд 15

sudowealth/schwab-mcp - кандидат на сервер MCP, импортированный из https://github.com/sudowealth/schwab-mcp.

Обзор

sudowealth/schwab-mcp - кандидат на сервер MCP, импортированный из https://github.com/sudowealth/schwab-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), который позволяет помощникам ИИ, таким как Клод безопасно взаимодействовать со счетами Чарльза Шваба и рыночными данными через Официальный Schwab API.

Что можно сделать

Попросите Клода:

“Покажите мне мои балансы и позиции на счете Шваба” Получите котировки в реальном времени для AAPL, GOOGL и MSFT

  • “Что сегодня движут рынком в $SPX?” “Покажите мне цепочку опционов для TSLA с греками” “Получите мои транзакции за последние 30 дней” «Поиск ETF, связанных с технологиями» «Проверить, открыты ли рынки»

##Неофициальный MCP-сервер

Это неофициальный, разработанный сообществом MCP-сервер TypeScript для Чарльза. Шваб. Он не был одобрен, одобрен или сертифицирован Чарльзом Швабом. Это обеспечивается как есть, а его функциональность может быть неполной или нестабильной. Использовать Ваш собственный риск, особенно при работе с финансовыми данными или транзакциями.

Обзор

Этот MCP-сервер действует как мост между помощниками ИИ и API Schwab. обеспечивая:

** Безопасная аутентификация OAuth**: Внедряет поток OAuth 2.0 Schwab с PKCE для безопасной аутентификации Комплексные торговые инструменты: доступ к счетам, ордерам, котировкам и сделки

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Schwab MCP Server

A Model Context Protocol (MCP) server that enables AI assistants like Claude to securely interact with Charles Schwab accounts and market data through the official Schwab API.

What You Can Do

Ask Claude to:

  • “Show me my Schwab account balances and positions”
  • “Get real-time quotes for AAPL, GOOGL, and MSFT”
  • “What are today’s market movers in the $SPX?”
  • “Show me the options chain for TSLA with Greeks”
  • “Get my transactions from the last 30 days”
  • “Search for ETFs related to technology”
  • “Check if the markets are open”

Unofficial MCP Server

This is an unofficial, community-developed TypeScript MCP server for Charles Schwab. It has not been approved, endorsed, or certified by Charles Schwab. It is provided as-is, and its functionality may be incomplete or unstable. Use at your own risk, especially when dealing with financial data or transactions.

Overview

This MCP server acts as a bridge between AI assistants and the Schwab API, providing:

  • Secure OAuth Authentication: Implements Schwab’s OAuth 2.0 flow with PKCE for secure authentication
  • Comprehensive Trading Tools: Access to accounts, orders, quotes, and transactions
  • Market Data Tools: Real-time quotes, price history, market hours, movers, and options chains
  • Account Privacy: Built-in account identifier scrubbing to protect sensitive information
  • Enterprise-Ready: Deployed on Cloudflare Workers with Durable Objects for state management

Features

Trading Tools

  • Account Management
    • getAccounts: Retrieve all account information with positions and balances
    • getAccountNumbers: Get list of account identifiers
  • Order Management
    • getOrder: Get order by ID
    • getOrders: Fetch orders with filtering by status, time range, and symbol
    • getOrdersByAccountNumber: Get orders by account number
    • cancelOrder: Cancel an order (Experimental)
    • placeOrder: Place an order (Experimental)
    • replaceOrder: Replace an order (Experimental)
  • Market Quotes
    • getQuotes: Get real-time quotes for multiple symbols
    • getQuoteBySymbolId: Get detailed quote for a single symbol
  • Transaction History
    • getTransactions: Retrieve transaction history across all accounts with date filtering
  • User Preferences
    • getUserPreference: Retrieve user trading preferences and settings

Market Data Tools

  • Instrument Search
    • searchInstruments: Search for securities by symbol with fundamental/reference data
  • Price History
    • getPriceHistory: Get historical price data with customizable periods and frequencies
  • Market Hours
    • getMarketHours: Check market operating hours by date
    • getMarketHoursByMarketId: Get specific market information
  • Market Movers
    • getMovers: Find top market movers by index ($SPX, $COMPX, $DJI)
  • Options Chains
    • getOptionChain: Retrieve full options chain data with Greeks
Открыть полный README на GitHub

Установка

npx mcp-remote https://schwab-mcp.<your-subdomain>.workers.dev/sse
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "schwab": { "command": "npx", "args": [ "mcp-remote", "https://schwab-mcp.<your-subdomain>.workers.dev/sse" ] } } }