About Open Ptc Agent
Open Ptc Agent is an MCP server published by Chen-zexi in the AI category: an open source implementation of code execution with MCP (Programatic Tool Calling). Conduid read 28 tools from its source: compare_financials, compare_valuations, get_analyst_recommendations, get_balance_sheet, get_broad_ticker_news, get_cash_flow and 22 more. No package is published for it, so it installs from a source checkout.
The repository has 731 stars and 89 forks, is licensed MIT, and its last commit was on 21 Jan 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include langchain, daytona and langraph.
Install
git clone https://github.com/Chen-zexi/open-ptc-agentTools (28)
compare_financialsGet financial statements for multiple companies for side-by-side comparison.| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual |
| statement_type | string | Type of statement - "income", "balance", or "cashflow" |
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "GOOGL"]) |
compare_valuationsCompare valuation metrics (P/E, P/B, dividend yield, etc.) across multiple stocks.| Parameter | Type | Description |
|---|---|---|
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "GOOGL"]) |
get_analyst_recommendationsGet analyst recommendations history (buy/hold/sell ratings over time).| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_balance_sheetGet balance sheet data (assets, liabilities, equity).| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual data |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_broad_ticker_newsGet broader news for a specific ticker symbol.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
| ticker * | string | The ticker symbol (e.g., AAPL, MSFT, TSLA) |
get_cash_flowGet cash flow statement data (operating, investing, financing activities).| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual data |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_company_infoGet comprehensive company information (sector, industry, market cap, ratios, etc.)| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_curated_newsGet curated news from top financial/technology sources.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
get_dividends_and_splitsGet dividend payment history and stock split events.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_earnings_dataGet historical earnings (EPS) and revenue data.| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual data |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_earnings_datesGet earnings announcement dates with EPS estimates vs actuals.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_entity_newsGet news about a specific entity (person, company, etc.)| Parameter | Type | Description |
|---|---|---|
| entity * | string | The entity name (e.g., "Elon Musk", "Trump", "Warren Buffett") |
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
get_income_statementGet income statement data (revenue, expenses, net income, etc.)| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual data |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_insider_rosterGet list of key insiders and their current holdings.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_insider_transactionsGet insider buying and selling activity.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_institutional_holdersGet list of institutional holders and their positions.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_multiple_stocks_dividendsGet dividend history for multiple stocks in a single call.| Parameter | Type | Description |
|---|---|---|
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "GOOGL"]) |
get_multiple_stocks_earningsGet earnings data for multiple stocks in a single call.| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | If True, returns quarterly data; if False, returns annual data |
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "GOOGL"]) |
get_multiple_stocks_historyGet historical data for multiple stocks in a single call.| Parameter | Type | Description |
|---|---|---|
| interval | string | Data interval - 1d, 5d, 1wk, 1mo, 3mo |
| period | string | Data period - 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max |
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "GOOGL"]) |
get_mutualfund_holdersGet top mutual fund holders and their positions.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_newsGet recent news articles for a stock.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_news_for_multiple_tickersGet news for multiple ticker symbols.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
| tickers * | array | List of ticker symbols (e.g., ["AAPL", "MSFT", "TSLA"]) |
get_news_from_sourceGet news from a specific source.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
| source * | string | The news source (e.g., bloomberg, wsj, cnbc, reuters) |
get_options_chainGet options chain (calls and puts) for a stock.| Parameter | Type | Description |
|---|---|---|
| expiration | string | Option expiration date (YYYY-MM-DD). If None, uses nearest expiration. |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_stock_historyGet historical OHLCV (Open, High, Low, Close, Volume) data for a stock.| Parameter | Type | Description |
|---|---|---|
| interval | string | Data interval - 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo |
| period | string | Data period - 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max |
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT", "TSLA") |
get_sustainability_dataGet ESG (Environmental, Social, Governance) scores and sustainability metrics.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Stock ticker symbol (e.g., "AAPL", "MSFT") |
get_ticker_newsGet news for a specific ticker symbol.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of news items to return (default: 10, max: 50) |
| ticker * | string | The ticker symbol (e.g., AAPL, MSFT, TSLA) |
search_tickersSearch for tickers matching the query.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (default: 5, max: 20) |
| query * | string | The search query (e.g., "Apple", "TSLA", "Microsoft") |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and libs/ptc-cli/uv.lock.
- !No dynamic code executionScanned 85 source files and found 7 calls to eval or shell execution, in libs/ptc-agent/ptc_agent/config/agent.py:229, libs/ptc-agent/ptc_agent/config/core.py:56 and libs/ptc-agent/ptc_agent/config/loaders.py:591 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSElibs/ptc-agent/ptc_agent/config/core.py:68, libs/ptc-agent/ptc_agent/config/core.py:68, libs/ptc-agent/ptc_agent/config/core.py:68
- Starts other programs
- 5 callslibs/ptc-agent/ptc_agent/core/sandbox.py:1525, libs/ptc-agent/ptc_agent/core/tool_generator.py:521, skills/xlsx/recalc.py:31
- Outbound network calls
- 10 callslibs/ptc-agent/ptc_agent/agent/middleware/view_image_middleware.py:93, libs/ptc-agent/ptc_agent/agent/middleware/view_image_middleware.py:136, libs/ptc-agent/ptc_agent/agent/tools/tavily.py:43
- Writes or deletes files
- 15 callslibs/ptc-agent/ptc_agent/config/loaders.py:672, libs/ptc-agent/ptc_agent/config/loaders.py:681, libs/ptc-cli/ptc_cli/agent/management.py:89
- Lockfile
- uv.lock and libs/ptc-cli/uv.lock
Pattern matches on the source text of 85 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 2.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README