Publicdotcom
MCP server for publicdotcom
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
Maintainer
Works with
Installation
Manual Installation
npx publicdotcomConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
Install the MCP server package
Install the publicdotcom-mcp-server package via pip from PyPI.
pip install publicdotcom-mcp-serverObtain 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.
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-serverConfigure Claude Desktop
Add the server configuration to your Claude Desktop config file with your credentials.
Inspect available tools
Use the MCP inspector to browse all 40+ available tools and their parameters before building workflows.
npx @modelcontextprotocol/inspector publicdotcom-mcp-serverPublicdotcom 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.
Publicdotcom Alternatives — Similar APIs Servers
Looking for alternatives to Publicdotcom? Here are other popular apis servers you can use with Claude, Cursor, and VS Code.
Kong
★ 43.4k🦍 The API and AI Gateway
API Mega List
★ 5.4kThis GitHub repo is a powerhouse collection of APIs you can start using immediately to build everything from simple automations to full-scale applications. One of the most valuable API lists on GitHub—period. 💪
Fetch
★ 5.4kFetch web content and convert to markdown for AI consumption
Fusio
★ 2.1kSelf-Hosted API Management for Builders
Korean Law
★ 1.8k국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 Korean legal APIs → 17 MCP tools
RuleGo
★ 1.5k⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
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.
Set Up Publicdotcom in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.