Publicdotcom

v1.0.0APIsstable

MCP server for publicdotcom

publicdotcommcpai-integration
Share:
59
Stars
0
Downloads
0
Weekly
0/5

What is Publicdotcom?

Publicdotcom is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for publicdotcom

MCP server for publicdotcom

This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for publicdotcom

Use Cases

Public.com API access
PublicDotCom

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx publicdotcom

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Publicdotcom

The Public.com MCP Server gives AI assistants like Claude direct access to the Public.com brokerage platform through 40+ tools covering portfolio management, order placement, market data, and options trading. It supports both read-only operations like fetching quotes and option chains as well as write operations including placing single-leg and multi-leg orders, making it a full-featured trading interface for AI-driven workflows.

Prerequisites

  • Python 3.9 or higher installed
  • A Public.com brokerage account with API access
  • Your Public.com API secret key (PUBLIC_COM_SECRET)
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Install the MCP server package

Install the publicdotcom-mcp-server package via pip from PyPI.

pip install publicdotcom-mcp-server
2

Obtain your Public.com API credentials

Log in to your Public.com account and navigate to API settings to generate your API secret key. Note the key value as it will be used as PUBLIC_COM_SECRET.

3

Test the server in stdio mode

Verify the server runs correctly in stdio mode before wiring it up to a client.

PUBLIC_COM_SECRET=your_api_secret publicdotcom-mcp-server
4

Configure Claude Desktop

Add the server configuration to your Claude Desktop config file with your credentials.

5

Inspect available tools

Use the MCP inspector to browse all 40+ available tools and their parameters before building workflows.

npx @modelcontextprotocol/inspector publicdotcom-mcp-server

Publicdotcom Examples

Client configuration

Add this block to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json).

{
  "mcpServers": {
    "public-com": {
      "command": "publicdotcom-mcp-server",
      "env": {
        "PUBLIC_COM_SECRET": "your_api_secret_key",
        "PUBLIC_COM_ACCOUNT_ID": "your_account_id"
      }
    }
  }
}

Prompts to try

Use these prompts in Claude to interact with your Public.com portfolio and markets.

- "Show me my current portfolio and each position's P&L"
- "Get me the current quote and options chain for AAPL"
- "Place a limit buy order for 10 shares of TSLA at $250"
- "What are the Greeks on the NVDA $500 call expiring next Friday?"
- "Cancel all my open orders"
- "Show me the cost estimate before placing an order for 5 shares of MSFT"

Troubleshooting Publicdotcom

Authentication fails with PUBLIC_COM_SECRET

Double-check that you copied the full API secret from your Public.com account settings with no extra spaces. Regenerate the key if needed and update the env variable in your config.

Order placement is rejected

Ensure your Public.com account has trading enabled and sufficient buying power. Use the preflight cost estimate tools first to verify parameters before submitting live orders.

Server command not found after pip install

Ensure the pip installation destination is in your PATH. Try running `python -m publicdotcom_mcp_server` as an alternative, or install with `pip install --user` and add ~/.local/bin to PATH.

Frequently Asked Questions about Publicdotcom

What is Publicdotcom?

Publicdotcom is a Model Context Protocol (MCP) server that mcp server for publicdotcom It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Publicdotcom?

Follow the installation instructions on the Publicdotcom GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Publicdotcom?

Publicdotcom works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Publicdotcom free to use?

Yes, Publicdotcom is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "publicdotcom": { "command": "npx", "args": ["-y", "publicdotcom"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Publicdotcom?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides