MonteWalk

MonteWalk

Provides AI agents with institutional-grade quantitative finance tools including real-time market data, paper trading via Alpaca, risk analysis with Monte Carlo simulations, backtesting, and multi-source news sentiment analysis for portfolio management and trading strategy development.

Category
Visit Server

README

MonteWalk 🚀

Institutional-grade quantitative finance tools for AI agents.

License: MIT MCP Compatible

MonteWalk is an MCP server that gives AI assistants (like Claude) access to professional trading tools: real-time market data, paper trading, risk analysis, and portfolio optimization.


✨ Key Features

  • 📊 Market Intelligence: Aggregates data from Yahoo Finance, Alpaca, and CoinGecko.
  • 💰 Paper Trading: Real execution via Alpaca ($100k virtual account).
  • ⚠️ Risk Management: Monte Carlo simulations, VaR, and volatility metrics.
  • 📈 Backtesting: Test strategies with walk-forward analysis.
  • 🗞️ News & Sentiment: Multi-source news aggregation with NLP sentiment scoring.
  • 🤖 Intelligent Watchlist: Auto-syncs with your portfolio via AI prompts.

🚀 Quick Start

1. Prerequisites

2. Installation

git clone https://github.com/N-lia/MonteWalk.git
cd MonteWalk
python3 -m venv .venv
source .venv/bin/activate
pip install mcp yfinance pandas numpy scipy pandas_ta textblob gnews newsapi-python pycoingecko alpaca-py
python -m textblob.download_corpora

3. Configuration

Create a .env file:

cp .env.example .env

Edit .env with your keys:

ALPACA_API_KEY=your_key
ALPACA_SECRET_KEY=your_secret
NEWSAPI_KEY=your_key  # Optional

4. Run Server

For Hugging Face Deployment (Gradio UI + MCP):

uv run app.py

For Local Claude Desktop (stdio-based MCP):

uv run server.py

🔌 Connect to Claude Desktop

Local Connection (Recommended):

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "montewalk": {
      "command": "/absolute/path/to/MonteWalk/.venv/bin/python",
      "args": ["/absolute/path/to/MonteWalk/server.py"]
    }
  }
}

Note: Replace /absolute/path/to/MonteWalk with your actual path.

Alternative (Streamable HTTP via Gradio): If using app.py, configure with URL:

{
  "mcpServers": {
    "montewalk": {
      "url": "http://localhost:7860/gradio_api/mcp/"
    }
  }
}

⚠️ Note: You must start app.py BEFORE launching Claude Desktop for this to work.


📚 Usage

Just ask Claude:

  • "What's my portfolio risk?"
  • "Analyze TSLA technicals and sentiment."
  • "Backtest a 10/50 MA crossover on Apple."
  • "Buy 10 shares of MSFT."
  • "Run morning briefing." (Auto-syncs watchlist!)

See API_REFERENCE.md for full tool documentation.


🛠️ Architecture

  • Core: FastMCP server
  • Data: yfinance, Alpaca, CoinGecko, NewsAPI
  • Analysis: NumPy, SciPy, Pandas, TextBlob
  • Security: Paper trading only, local data storage

📄 License

MIT License. Built for the MCP 1st Birthday Hackathon.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured