PP

publicdotcom/publicdotcom-mcp-server

Developer toolsОфициальный

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

67 stars 7 forks Качество 85 Тренд 14Apache-2.0

publicdotcom/publicdotcom-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/publicdotcom/publicdotcom-mcp-server.

Обзор

publicdotcom/publicdotcom-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/publicdotcom/publicdotcom-mcp-server.

Обзор (машинный перевод)

Сервер MCP (Model Context Protocol), который подключает помощников AI к вашему брокерскому счету Public.com. Торгуйте акциями, опционами и криптовалютами — получайте котировки, управляйте заказами и просматривайте свой портфель — на естественном языке.

** Отказ от ответственности: ** Только в иллюстративных и информационных целях. Не инвестиционные советы и рекомендации. Используйте на свой страх и риск.

Инструменты

###Только для чтения

| Инструмент | Описание [скрыто] [скрыто] [скрыто] [скрыто] | check_setup | Проверка учетных данных API и подключения | [[Т1]] Перечислите все брокерские счета | get_portfolio | Позиции, капитал, покупательная способность, открытые заказы | get_orders | Список активных/открытых ордеров (ножки кронштейна разделяют bracketId] [[Т5]] [Статус и детали конкретного заказа, включая его заполнения [[Т6]], [[Т7]], [[Т8]], [[Т9]]]; последние 30 дней | История поисковых запросов — любой статус, последние 30 дней, до 500 заказов, отфильтрованный по статусу / стороне / символам / типу / времени get_history | История транзакций (торговля, депозиты, дивиденды и т. д.) | get_quotes | котировки в реальном времени для акций, криптовалют, опционов, событийных контрактов |

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Public.com MCP Server

An MCP (Model Context Protocol) server that connects AI assistants to your Public.com brokerage account. Trade stocks, options, and crypto — get quotes, manage orders, and view your portfolio — all through natural language.

Disclaimer: For illustrative and informational purposes only. Not investment advice or recommendations. Use at your own risk.

Tools

Read-Only

Tool Description
check_setup Verify API credentials and connectivity
get_accounts List all brokerage accounts
get_portfolio View positions, equity, buying power (including dayTradeBuyingPower), open orders
get_orders List active/open orders (bracket legs share a bracketId)
get_order Status and details of a specific order, including its fills (trades with each fill’s venue MIC, filledAt, replacedAt, lastModified); last 30 days
search_orders Search order history — any status, last 30 days, up to 500 orders, filtered by status/side/symbols/type/time
get_history Transaction history (trades, deposits, dividends, etc.)
get_quotes Real-time quotes for stocks, crypto, options, event contracts
get_price_history OHLCV price history for equities, crypto, options, indices, or event contracts
get_instrument Details about a specific tradeable instrument
get_all_instruments List all available instruments with filters
search_bonds Filtered, paged search for fixed income instruments
get_bond_details Pricing, ratings, coupon and maturity info for a bond
get_option_expirations Available expiration dates for options
get_option_chain Full option chain (calls + puts) for a symbol
get_option_greeks Greeks (delta, gamma, theta, vega, rho, IV) for multiple options
get_option_greek Greeks for a single option symbol
get_tax_lots Unrealized tax-lot summary (per-lot gain/loss, term, cost basis)
get_tax_lots_for_symbol Unrealized tax-lot detail for a single symbol
get_tax_lots_csv Export unrealized tax lots as a Base64-encoded CSV file
get_strategy_quote Consolidated quote for a multi-leg option strategy
get_event_categories Event-contract (prediction market) categories, subcategories and frequency filters
get_event_summary Browse event contracts by category / symbol / frequency / resolution time, 100 per page
get_event_details One event’s outcomes (with floorStrike), YES/NO contract prices, timeline and CFTC terms, plus per-outcome tradable / secondsLeft / winner
Открыть полный README на GitHub

Установка

uvx publicdotcom-mcp-server
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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