Schwab MCP logo

Schwab MCP

Read-only Charles Schwab brokerage data over MCP, with OAuth account access and Lightning-based usage credits.

Install Schwab MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://schwab-mcp.fastmcp.app/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http schwab-mcp https://schwab-mcp.fastmcp.app/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

schwab-mcp connects AI agents to Charles Schwab brokerage accounts through a multi-tenant FastMCP service exposed over Streamable HTTP. It provides read-only access to positions, balances, quotes, market data, option chains, orders, transactions, and account statements, plus OAuth session and credential workflows. Reach for it when an agent needs conversational access to brokerage data without placing trades; usage is funded through DPYC Tollbooth credits purchased with Bitcoin Lightning.

Use cases

  • Review portfolio positions and detected option spreads
  • Compare option chains using Greeks, IV, and open interest
  • Audit recent orders and transactions
  • Retrieve quotes, market movers, and historical price data
  • Check account balances and statement summaries

Key features

  • Read-only Charles Schwab brokerage access
  • OAuth2 account authorization and session monitoring
  • Option-chain filtering with Greeks and implied volatility
  • Automatic bull put and bear call spread detection
  • Multi-tenant Nostr identity and Secure Courier credential flows
  • Bitcoin Lightning credit payments through DPYC Tollbooth

Tools39

What Schwab MCP lets your agent do. Expand a tool for its parameters.

Self-reported~642 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6d agoMost recent push to the default branch.
Tools exposed39Callable tools this server registers over MCP.

How Schwab MCP works

What schwab-mcp does

schwab-mcp exposes read-only Charles Schwab brokerage data to MCP-compatible AI clients. Its brokerage tools cover portfolio positions, account balances, real-time stock quotes, market movers, trading hours, instrument lookup, option chains, historical price candles, order history, individual orders, transaction history, and individual transactions.

The server also includes account and service lifecycle tools. Agents can start and monitor the Schwab OAuth flow, list linked account numbers and hashes, inspect session and service readiness, and view an account statement or an SVG account infographic. Brokerage operations do not place, modify, or cancel orders.

How it works

The service runs as a multi-tenant FastMCP application over Streamable HTTP. It calls the Schwab API directly with asynchronous HTTP requests rather than using a third-party Schwab SDK. Schwab access uses an OAuth2 browser flow, with sessions associated with a patron identity.

Usage is handled through DPYC Tollbooth. Patrons pre-fund an api_sats balance with Bitcoin Lightning, and paid tool calls debit that balance according to the operator's pricing model. A failed downstream call triggers a credit rollback. Free tools include status, OAuth, credential, and payment-management operations, while brokerage queries are credit-gated. Actual prices can be set dynamically by the operator.

Patron identity can be established through a Nostr public key. A client may sign requests using NIP-98, or complete a human-approved Secure Courier exchange that associates the connection with an npub. The selected identity duration can persist across MCP restarts.

Setup and configuration

Python 3.12 or newer is required. The server is designed for Streamable HTTP rather than a local-only stdio deployment. Schwab credentials are handled through the service's OAuth and Secure Courier flows instead of being placed in environment variables.

Operator credentials are delivered through Secure Courier and validated before they are stored. The operator configuration includes a BTCPay host, BTCPay API key, BTCPay store ID, Schwab app key, and Schwab secret. Patrons authenticate their own Schwab access through the browser-based OAuth process. The OAuth collector URL is resolved at runtime through the DPYC registry.

Before calling paid brokerage tools, a patron needs an identity and sufficient Lightning credit balance. check_balance shows usage and available credit, while check_price previews a tool's cost. purchase_credits, check_payment, and restore_credits manage Lightning-funded credit balances.

Tools and capabilities

  • Inspect positions with automatic bull put and bear call spread detection.
  • Read cash, buying power, net liquidation value, and day profit or loss.
  • Retrieve quotes, index market movers, trading hours, historical OHLCV data, and instrument matches by symbol, name, or CUSIP.
  • Filter option chains using Greeks, implied volatility, out-of-the-money percentage, and open-interest thresholds.
  • Review multi-leg orders and transaction records, including trades, dividends, and cash movements. Order and transaction history defaults to 30 days.
  • Manage OAuth sessions, account links, patron credentials, Nostr identity proof, and Lightning payments.
  • Produce an account statement summary or a visual SVG account infographic.

Limitations and notes

All brokerage tools are read-only. The server cannot submit or manage Schwab orders. Access depends on a completed Schwab OAuth session and valid operator configuration. Paid calls require a patron identity and credits, and the operator controls the pricing model and credit lifetime. Account and market data are retrieved from the Schwab API through the service's authenticated sessions.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Schwab MCP

schwab-mcp is an MCP server that connects AI agents to Charles Schwab brokerage accounts through OAuth and provides portfolio positions, balances, quotes, market data, option chains, order history, transaction history, and account statements. It also manages session status, credentials, and Lightning credit payments for its multi-tenant service.

Run schwab-mcp as a Python 3.12-or-newer service exposed over Streamable HTTP. Configure the operator through Secure Courier, then have patrons complete the browser-based Schwab OAuth flow.

No, schwab-mcp is read-only for brokerage operations. It can retrieve order history and individual order details, but it cannot submit, modify, or cancel orders.

Brokerage tools use pre-funded DPYC credits purchased through Bitcoin Lightning. Calls debit the patron's `api_sats` balance according to the operator's pricing model, while failed downstream requests receive an automatic credit rollback. `check_balance` and `check_price` show balance and cost information.

Yes, schwab-mcp uses Streamable HTTP, so it can be connected from MCP clients that support that transport, including Cursor. The service still requires Schwab OAuth authentication, patron identity setup, and credits for paid brokerage calls.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSchwab MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/schwab-mcp?style=directory)](https://allmcps.com/mcp/schwab-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/schwab-mcp"><img src="https://allmcps.com/api/badge/schwab-mcp?style=directory" alt="Schwab MCP on AllMCPs" /></a>