
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A community-developed MCP server that lets AI assistants securely interact with Charles Schwab accounts and market data through the official Schwab API.
Unofficial Schwab MCP Server is cataloged as an MCP server attributed to sudowealth. A community-developed MCP server that lets AI assistants securely interact with Charles Schwab accounts and market data through the official Schwab API. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Unofficial Schwab MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 9c8e32f2e53d · Fetched 2026-11-13 13:40:27 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
Ask Claude to:
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.
This MCP server acts as a bridge between AI assistants and the Schwab API, providing:
getAccounts: Retrieve all account information with positions and balancesgetAccountNumbers: Get list of account identifiersgetOrder: Get order by IDgetOrders: Fetch orders with filtering by status, time range, and symbolgetOrdersByAccountNumber: Get orders by account numbercancelOrder: Cancel an order (Experimental)placeOrder: Place an order (Experimental)replaceOrder: Replace an order (Experimental)getQuotes: Get real-time quotes for multiple symbolsgetQuoteBySymbolId: Get detailed quote for a single symbolgetTransactions: Retrieve transaction history across all accounts with
date filteringgetUserPreference: Retrieve user trading preferences and settingssearchInstruments: Search for securities by symbol with
fundamental/reference datagetPriceHistory: Get historical price data with customizable periods and
frequenciesgetMarketHours: Check market operating hours by dategetMarketHoursByMarketId: Get specific market informationgetMovers: Find top market movers by index ($SPX, $COMPX, $DJI)getOptionChain: Retrieve full options chain data with GreeksgetOptionExpirationChain: Get option expiration datesgit clone <repository-url>
cd schwab-mcp
npm install
# Authenticate with Cloudflare (first time only)
npx wrangler login
# Create KV namespace for OAuth token storage
npx wrangler kv:namespace create "OAUTH_KV"
# Note the ID from the output - you'll need it for configuration
# Set up your personal configuration
cp wrangler.example.jsonc wrangler.jsonc
# Edit wrangler.jsonc to:
# 1. Replace YOUR_KV_NAMESPACE_ID_HERE with the ID from above
# 2. Change the name to something unique (e.g., "schwab-mcp-yourname")
# Set your secrets
npx wrangler secret put SCHWAB_CLIENT_ID # Your Schwab App Key
npx wrangler secret put SCHWAB_CLIENT_SECRET # Your Schwab App Secret
npx wrangler secret put SCHWAB_REDIRECT_URI # https://your-worker-name.workers.dev/callback
npx wrangler secret put COOKIE_ENCRYPTION_KEY # Generate with: openssl rand -hex 32
# Deploy
npm run deploy
wrangler.example.jsonc - Template configuration (committed)wrangler.jsonc - Your personal config (git-ignored, created from template).dev.vars - Local development secrets (git-ignored, optional)Since wrangler.jsonc is git-ignored, you can safely develop and test with your
personal configuration without exposing secrets.
https://schwab-mcp.<your-subdomain>.workers.dev/callbackThe same secrets from Quick Setup need to be set (see above).
For automated deployments, add these GitHub repository secrets:
CLOUDFLARE_API_TOKEN: Your Cloudflare API tokenOAUTH_KV_ID: Your KV namespace IDThe workflow handles validation and deployment when pushing to main.
Cloudflare secrets must still be set via wrangler secret.
Test your deployment using the MCP Inspector:
npx @modelcontextprotocol/inspector@latest
Enter https://schwab-mcp.<your-subdomain>.workers.dev/sse and connect. You'll
be prompted to authenticate with Schwab.
https://schwab-mcp.<your-subdomain>.workers.dev/sseAdd the following to your Claude Desktop configuration file:
{
"mcpServers": {
"schwab": {
"command": "npx",
"args": [
"mcp-remote",
"https://schwab-mcp.<your-subdomain>.workers.dev/sse"
]
}
}
}
Restart Claude Desktop. When you first use a Schwab tool, a browser window will open for authentication.
Once connected, you can ask Claude to:
For local development, create a .dev.vars file (automatically ignored by git):
SCHWAB_CLIENT_ID=your_development_app_key
SCHWAB_CLIENT_SECRET=your_development_app_secret
SCHWAB_REDIRECT_URI=http://localhost:8788/callback
COOKIE_ENCRYPTION_KEY=your_random_key_here
LOG_LEVEL=DEBUG # Optional: Enable debug logging
Run locally:
npm run dev
# Server will be available at http://localhost:8788
Connect to http://localhost:8788/sse using the MCP Inspector for testing.
@cloudflare/workers-oauth-provider@sudowealth/schwab-api for type-safe Schwab API access@modelcontextprotocol/sdk with workers-mcp adapternpm run dev # Start development server on port 8788
npm run deploy # Deploy to Cloudflare Workers
npm run typecheck # Run TypeScript type checking
npm run lint # Run ESLint with automatic fixes
npm run format # Format code with Prettier
npm run validate # Run typecheck and lint together
The server includes comprehensive logging with configurable levels:
Enable debug logging to see detailed OAuth flow and API interactions:
# For local development
echo "LOG_LEVEL=DEBUG" >> .dev.vars
# For production
npx wrangler secret put LOG_LEVEL --secret="DEBUG"
The server implements robust error handling with specific error types:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT
"KV namespace not found" error
wrangler.jsoncnpx wrangler kv:namespace list to verifyAuthentication failures
npx wrangler secret list"Durable Objects not available" error
Token refresh issues
npx wrangler kv:key list --namespace-id=<your-id>Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Unofficial Schwab MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/schwab-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.