# Stochastly Desktop

> Stochastly Desktop is a paid MCP server for finance and payments. Run backtests from a coding agent through the Stochastly desktop app. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** self-hosted, macOS, Windows, Linux, CLI
- **Website:** https://stochastly.com/product/mcp
- **Repository:** https://github.com/stochastly/stochastly-mcp
- **MCP Registry name:** com.stochastly/desktop
- **Categories:** finance and payments, analytics and data
- **Listing updated:** 2026-11-15

## About

This package is a small launcher. It connects an MCP client to the server that ships inside the Stochastly desktop app, which must be installed, running and licensed for the Atelier or Portfolio edition. The package itself contains no engine code. Without the app it still lists the 29 tools, each marked as needing the app, and calls return an answer saying which edition is needed.

The site describes a research loop in which an agent searches a node catalogue, composes a graph, runs a backtest and reads the verdict. Tools named include node_catalog, compose_graph, backtest_graph, backtest_status, red_flag_check, adversarial_check, portfolio_combine and export_paper. Long runs can start in the background and be polled by run id, and a session registry counts finished runs.

Tools are classed as reads or writes, with writes stating what they change and passing a second licence check. Driving the app is off until you create a flag file by hand, and an AST self-test checks the read and write classification.

## Features

- **Graph composition:** Builds strategy graphs from a node catalogue.
- **Background backtests:** Starts runs that can be polled by id until a verdict arrives.
- **Robustness checks:** Includes red-flag and adversarial checks on results.
- **Read and write classes:** Each tool is a read or a write, and writes state what they change.
- **Licence gating:** Atelier or Portfolio is required; portfolio_combine needs Portfolio.
- **Local only:** Talks to the installed desktop app rather than a hosted service.

## Good for

- Have an agent compose and run a backtest
- Check a result for red flags before trusting it
- Combine strategies into a portfolio
- Export a research paper from a run

## Install

### Claude Code (Terminal)

```sh
claude mcp add desktop -- uvx stochastly-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "desktop": {
      "command": "uvx",
      "args": [
        "stochastly-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "desktop": {
      "command": "uvx",
      "args": [
        "stochastly-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "desktop": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stochastly-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "desktop": {
      "command": "uvx",
      "args": [
        "stochastly-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "desktop": {
      "command": "uvx",
      "args": [
        "stochastly-mcp"
      ]
    }
  }
}
```

## Tools

- `node_catalog`: Searches the catalogue of graph nodes.
- `compose_graph`: Composes a strategy graph.
- `backtest_graph`: Runs a backtest, optionally in the background.
- `backtest_status`: Reads the status of a background run.
- `red_flag_check`: Checks a result for red flags.
- `adversarial_check`: Runs an adversarial robustness check.
- `portfolio_combine`: Combines strategies into a portfolio.
- `export_paper`: Writes a research paper PDF to disk.

## FAQ

### What do I need to run it?

The Stochastly desktop app, installed, running and licensed for Atelier or Portfolio.

### How many tools are there?

29.

### Can the agent control the app?

Only after you place a .mcp_pilot flag file by hand; no tool can create it.

### How do I install the launcher?

pip install stochastly-mcp or run uvx stochastly-mcp.

### Is Stochastly Desktop free?

No. Stochastly Desktop is a paid product.

### How do I add Stochastly Desktop to Claude Code?

Run this command in your terminal: claude mcp add desktop -- uvx stochastly-mcp

### What are the best alternatives to Stochastly Desktop?

The closest alternatives to Stochastly Desktop are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/stochastly-desktop
