API

Get Started

WelcomeQuickstartGuidesChangelogSDKs and ToolsAdditional InfoFAQ

Streaming

WSSOrder UpdatesWSSTrades

Authorization

POSTCreate personal access token

List Accounts

GETGet accounts

Account Details

GETGet account portfolio v2GETGet history

Tax Lot Selling

GETGet unrealized tax lotsGETGet unrealized tax lots for symbolGETGet unrealized tax lots csv

Instrument Details

GETGet all instrumentsGETGet instrumentGETSearch bonds

Market Data

POSTGet quotesGETGet bond detailsPOSTGet option expirationsPOSTGet option chainGETGet bars v2GETGet bars v2 with aggregation

Orders

POSTPreflight single legPOSTPreflight multi legPOSTPlace orderPUTReplace orderPOSTSearch ordersPOSTPlace multileg orderGETGet orderDELETECancel order

Option Details

GETGet option greeksPOSTGet strategy quote

Event Contracts

POSTGet event summaryGETGet event categoriesGETGet event details
HelpFeedback

Get Started

Claude & Claude Code Connector for Stock & Options Trading on Public MCP

Connect Claude and Claude Code to Public.com and trade stocks, crypto, and options from the web, desktop, iOS, or your terminal. Powered by the Public MCP server with OAuth sign-in.

Before You Get Started

  • →You will need a Public.com brokerage account. Create one at public.com/signup.
  • →You will need a Claude account. Claude Code uses the same account.
  • →To place trades, add Public as a custom connector with the server URL below. The Public connector in the official Claude connector directory cannot place trades.
  • →The hosted MCP server URL is https://mcp.public.com/mcp.

Set up Claude on web and desktop with a custom connector

3 steps

Use a custom connector to trade. This is the only way to place orders from Claude.

  1. 1

    Add a custom connector

    Go to Customize → Connectors. Click + Add, choose Add custom connector, and name your connector.
  2. 2

    Add the server URL

    Paste this URL into the Remote MCP server URL field: https://mcp.public.com/mcp then click Add.
  3. 3

    Connect and authorize

    Click Connect and complete the authorization flow in your browser.

Add Public from the Claude connector directory

3 steps

Public is also listed in the official Claude connector directory. The directory connector cannot place trades. To trade, use the custom connector steps above.

  1. 1

    Open Connectors

    Go to Customize → Connectors and click the + button next to Connectors.
  2. 2

    Find Public

    Search the directory for Public, select it, and click Connect.
  3. 3

    Sign in and authorize

    Sign in with your Public.com credentials and complete the authorization flow in your browser.

Set up Claude on iOS

4 steps

Adding connectors on mobile is in beta. If you already added Public as a custom connector on web or desktop, it's available in the iOS app the next time you sign in, and you can skip these steps.

  1. 1

    Open Connectors

    In the Claude iOS app, open Settings and tap Connectors.
  2. 2

    Add a custom connector

    Tap the + icon, choose Add custom connector, and name your connector.
  3. 3

    Add the server URL

    Paste this URL into the Remote MCP server URL field: https://mcp.public.com/mcp then tap Add.
  4. 4

    Connect and authorize

    Tap Connect and complete the authorization flow.

Set up Claude Code

7 steps
  1. 1

    Add the Public connector

    In claude.ai or the Claude Desktop app, add Public as a custom connector by following the web and desktop steps above. The directory connector can't place trades, including from Claude Code.
  2. 2

    Sign in to Public

    Sign in with your Public.com credentials when prompted. Confirm the connector shows as Connected.
  3. 3

    Start a Claude Code session

    Open a terminal and run claude to start a session. Make sure you're signed into the same Claude account you used in step 1.
  4. 4

    Open the MCP server list

    Type /mcp to see the list of available MCP servers.
  5. 5

    Select Public

    Select Public. If it's not listed, the connector wasn't added in step 1 or you're signed into a different account in the terminal.
  6. 6

    Authenticate if needed

    If Public shows as not authenticated, select Connect to launch the sign-in flow in your browser.
  7. 7

    Verify the connection

    Ask Claude Code to list your Public accounts.

Trade with Claude through Public

Once connected, Claude and Claude Code can use the Public MCP server to retrieve live market data, review your portfolio, and place orders from a conversation.

Markets

Research and trade stocks, ETFs, options, and crypto supported by Public.

Trading access

Submit supported order types during the trading sessions available for each asset. Eligible equity orders can use extended hours.

Accounts and permissions

Claude uses the accounts and trading permissions you authorize when you connect. Options strategies require the appropriate approval level.

Tools available

View balances, positions, quotes, option chains, open orders, and transaction history; run preflight checks; and submit or cancel orders.

Prompts to try

Use these examples after you connect your Public account.

  1. 01Show me my current account balance and buying power.
  2. 02How is my portfolio performing today?
  3. 03What is the current price of TSLA?
  4. 04Show me the options chain for AAPL expiring next Friday.
  5. 05Show me my recent transactions.
  6. 06What are my open orders?
  7. 07Cancel my open AAPL order.
  8. 08Find a good covered call opportunity on SPY based on my holdings.
  9. 09Place a buy order for 1 share of NVDA at market.

Important

Placing a trade through Claude is a real order using real money in your Public account. Review all preflight details carefully before confirming.