← Back to directory
P

Prophet Trader

Community
Deprecated AI-driven options trading MCP server (successor: OpenProphet)
GitHub source repository ↗
★ 229 Stars Category · Other Popular Source revision 2fb225130004
37FMRS · D
Reliability
8/20
Security and permissions
3/20
Maintenance
4/20
Documentation
13/20
Setup experience
9/20

Prophet Trader is a feature-rich but author-deprecated experimental MCP server for AI-driven options trading, bridging Claude Code to a Go backend that executes trades via Alpaca, with Gemini-powered news intelligence and vector-based trade memory. The repo still functions, but future development has moved to OpenProphet, and the author explicitly warns it should be used for paper trading only, with no responsibility taken for real-money losses.

Read the FMRS scoring method →

Prophet Trader is an experimental AI-powered options trading system that connects Claude Code to a Go trading backend via a Node.js MCP server (mcp-server.js), which in turn calls the Alpaca API to execute trades. It supports LEAPS-style long-dated positions, 0-5 DTE intraday scalping, trading both calls and puts, managed positions with automatic stop-loss/take-profit, Gemini-powered news cleaning and market intelligence, and a local vector-embedding store for retrieving similar past trades ('AI memory'). The README explicitly states this repository is now deprecated in favor of JakeNesler/OpenProphet, though the code still works as an MCP server. The author repeatedly warns this is experimental and strongly recommends paper trading only, never real money.

Tools

place_options_order
Buy or sell options contracts.
place_managed_position
Open a position with automatic stop-loss/take-profit management.
close_managed_position
Close a managed position at market price.
cancel_order
Cancel a pending order.
place_buy_order
Buy stock (not used in this options-only workflow).
place_sell_order
Sell stock (not used in this options-only workflow).
get_account
Retrieve portfolio value, cash, and buying power.
get_options_positions
List all open options positions.
get_options_position
Get details for a single options position.
get_options_chain
Retrieve available option contracts for an underlying symbol.
get_orders
Retrieve order history.
get_quote
Get a real-time stock quote.
get_latest_bar
Get the latest OHLCV price bar.
get_historical_bars
Retrieve historical price data.
get_managed_positions
List all managed positions with their status.
get_quick_market_intelligence
Get an AI-cleaned MarketWatch news summary (fast).
analyze_stocks
Run technical analysis plus news context and recommendations for stocks.
search_news
Search Google News by keyword.
get_cleaned_news
Get aggregated, AI-cleaned news from multiple sources.
get_marketwatch_topstories
Get MarketWatch top stories.
get_marketwatch_realtime
Get real-time MarketWatch headlines.
get_marketwatch_bulletins
Get MarketWatch breaking news bulletins.
get_marketwatch_marketpulse
Get quick MarketWatch market pulse updates.
aggregate_and_summarize_news
Aggregate and summarize news for a custom topic or symbol.
find_similar_setups
Find past trades with setups similar to the current one via vector search.
store_trade_setup
Store a completed trade setup for future similarity search.
get_trade_stats
Get win rate and profit factor statistics filtered by criteria.
log_decision
Log a trading decision along with its reasoning.
log_activity
Log an activity entry to the daily journal.
get_activity_log
Retrieve today's activity log.
wait
Pause execution for up to 300 seconds.
get_datetime
Get the current date/time in the US Eastern timezone.

Setup

  1. Create a .env file in the repo root with ALPACA_PUBLIC_KEY, ALPACA_SECRET_KEY, ALPACA_ENDPOINT (start with the paper trading endpoint), and an optional GEMINI_API_KEY; 2. Build the Go backend with go build -o prophet_bot ./cmd/bot; 3. Run ./prophet_bot to start the trading backend; 4. Claude Code launches mcp-server.js automatically via its .mcp.json configuration (the README doesn't show the exact .mcp.json contents); 5. In Claude Code, call a tool like get_account to confirm the connection.

Fit and risk

Best for

  • Developers comfortable with Go and the Alpaca API who want to experiment with AI-driven options strategies in a paper trading sandbox
  • Engineers interested in an example architecture for wiring Claude Code to a custom trading backend via MCP

Not for

  • Anyone wanting to trade real money in production — the author explicitly warns to use paper trading only
  • Users who need active maintenance or updates, since this repo is deprecated and development has moved to OpenProphet
  • Users without an Alpaca trading account and API keys, or unfamiliar with compiling and running a Go backend

Required permissions

  • Alpaca API keys (permission to place/cancel orders and read positions and account balance)
  • Optional Gemini API key for AI-based news cleaning and summarization
  • Local filesystem write access for the SQLite database and activity_logs/decisive_actions logs
  • Outbound network access to Alpaca, Google News, MarketWatch, and Gemini services

Risks and side effects

  • Misconfiguring a live (non-paper) Alpaca endpoint can result in real financial losses; the author provides no warranty
  • The project is marked deprecated by its author and no longer receives updates or fixes — review the code yourself before relying on it
  • AI-generated trading decisions may be flawed and should be reviewed before execution
  • Alpaca and Gemini API keys are stored in plaintext in the .env file and must be protected from exposure

Troubleshooting

  1. Verify ALPACA_PUBLIC_KEY / ALPACA_SECRET_KEY / ALPACA_ENDPOINT in .env are set correctly, pointed at the paper trading endpoint during testing
  2. Ensure the Go backend (prophet_bot) is built and running before invoking MCP tools
  3. If GEMINI_API_KEY is unset, intelligence tools return raw (non-AI-cleaned) news — this is expected behavior
  4. Check whether the default port 4534 is already in use by another process
  5. Inspect the activity_logs/ and decisive_actions/ directories for logs when debugging unexpected tool behavior

Use cases

Experimenting with AI-assisted, bidirectional (calls and puts) options strategies in a paper trading account
Combining technical analysis with AI-cleaned news for stock/options research
Using vector search to recall similar historical trade setups when reviewing strategy
Having Claude Code log trade reasoning and generate daily activity journals

Supported clients

Claude CodeFull support