Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ฐ Finance & Fintech
  3. Alpha Forge MCP
Alpha Forge MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 11:46:37 AM

Alpha Forge MCP

User RatingsBe the first to rate and review this MCP server!
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website
financequantitative-tradingbacktestingoptimizationmcp

MCP server wrapping AlphaForge CLI for quant strategy backtesting, optimization, and walk-forward testing via JSON commands.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldnโ€™t automatically confirm this listing starts correctly

The install command below didn't complete successfully in our automated test.

uvx alpha-forge-mcp

Downloading pydantic-core (2.0MiB) Downloading cryptography (4.5MiB) Downloaded pydantic-core Downloaded cryptography Installed 29 packages in 16ms Traceback (most recent call last): File "/home/user/.cache/uv/archive-v0/9peDuunjuZWHfI7u/bin/alpha-forge-mcp", line 6, in <module> from alpha_forge_mcp.server import main File "/home/user/.cache/uv/archive-v0/9peDuunjuZWHfI7u/lib/python3.11/site-packages/alpha_forge_mcp/server.py", line 29, in <module> from mcp.server.fastmcp import Co

This is an experimental automated check and can have false negatives โ€” missing environment variables, a slow cold install, etc. It doesnโ€™t necessarily mean somethingโ€™s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "alforge-labs-alpha-forge-mcp": {
      "command": "uvx",
      "args": [
        "alpha-forge-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (17) Directory Badge Claim listing Alternatives๐Ÿ’ฐ More in Finance & Fintech

Overview

This MCP server exposes the AlphaForge CLI to AI agents over stdio, enabling programmatic control of quantitative trading workflows. It supports listing, running, and managing strategies, backtests, optimizations, walk-forward tests, and data fetching. Use it to automate and integrate AlphaForge's quant research pipeline into AI agent workflows. The server itself is a thin wrapper requiring the closed-source alpha-forge binary and license.

Use cases

โ€ขBacktest trading strategies with historical data
โ€ขOptimize strategy parameters using Optuna TPE
โ€ขPerform walk-forward testing for out-of-sample validation
โ€ขFetch and cache historical OHLCV market data
โ€ขGenerate TradingView Pine Script v6 from strategies

Key features

โ€ขList and inspect registered strategies and backtest results
โ€ขRun backtests and Monte Carlo simulations
โ€ขOptimize strategies with configurable metrics and trials
โ€ขApply optimization results to strategies
โ€ขFetch historical market data for backtesting
โ€ขGenerate Pine Script v6 source code for TradingView

Capabilities & Tool Schemas (17) ~244 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Alpha Forge MCP.

list_strategies

List registered strategies

get_strategy

Full JSON of one strategy

list_results

List saved backtest results

get_result

Metrics of one result (heavy arrays folded into counts by default; `summary=false` for full)

run_backtest

Run a backtest (`summary=true` by default omits heavy arrays)

run_optimize

Optimize parameters (Optuna)

Documentation Overview

alpha-forge-mcp

PyPI version Python License: Apache 2.0 Follow @Alforge_bot

The MCP server for AlphaForge โ€” the agent-native quant CLI: write strategies in JSON, optimize with Optuna TPE, validate with walk-forward, export to TradingView Pine v6. This server lets your AI agent drive the whole pipeline over MCP. โ†’ Try AlphaForge free


A Model Context Protocol (MCP) server that exposes the AlphaForge alpha-forge CLI to AI coding agents โ€” Claude Code, Cursor, Codex, and any MCP-capable client โ€” over stdio.

It is a thin open-source wrapper: it shells out to the (commercial, closed-source) alpha-forge binary with --json and returns the parsed result. The MCP server itself contains no core logic โ€” alpha-forge plus a valid license are required for anything to actually run.

Tools

ToolWhat it doesUnderlying command
list_strategiesList registered strategiesalpha-forge strategy list --json
get_strategyFull JSON of one strategyalpha-forge strategy show <id> --json
list_resultsList saved backtest resultsalpha-forge backtest list [--strategy <id>] --json
get_resultMetrics of one result (heavy arrays folded into counts by default; summary=false for full)alpha-forge backtest report <result_id> --json
run_backtestRun a backtest (summary=true by default omits heavy arrays)alpha-forge backtest run <symbol> --strategy <id> [--start] [--end] [--summary] --json
run_optimizeOptimize parameters (Optuna)alpha-forge optimize run <symbol> --strategy <id> [--metric] [--trials] [--save] --json
apply_optimizationApply an optimization result file to a strategyalpha-forge optimize apply <result_file> --to-strategy <id> --yes
run_walk_forwardWalk-forward (out-of-sample) optimizationalpha-forge optimize walk-forward <symbol> --strategy <id> [--windows] [--metric] --json
run_monte_carloMonte Carlo from a saved resultalpha-forge backtest monte-carlo <result_id> [--simulations] --json
fetch_dataFetch & cache historical OHLCV (prereq for run_backtest)alpha-forge data fetch <symbol> [--period]
save_strategyRegister a strategy from its JSON bodyalpha-forge strategy save <tmpfile>
generate_pinescriptGenerate Pine Script v6 sourcealpha-forge pine preview --strategy <id> [--with-webhook]
forge_statusReport capabilities/prerequisites (doctor + version)alpha-forge system doctor --json
list_journalsList strategies that have a journalalpha-forge journal list --json
get_journalFull journal (snapshots, runs, tags, notes) of one strategyalpha-forge journal show <strategy_id> --json
exploration_statusStrategy-exploration coverage map (explored vs. untried)alpha-forge explore status [--goal] --json
get_indicatorMetadata for one technical indicatoralpha-forge analyze indicator show <name> --json

save_strategy takes the strategy-definition JSON body as a string (not a file path, which is more agent-friendly); it is written to a temp file before strategy save. fetch_data exposes only period because the CLI has no --start/--end. forge_status is read-only and never fails when the binary is missing โ€” it returns binary_found: false so a client can triage prerequisites before doing anything else.

run_optimize saves the result by default (save=true) so its saved_path can be passed to apply_optimization, which applies the optimized parameters and saves <strategy_id>_optimized (it runs non-interactively with --yes). get_indicator returns indicator metadata only (description, parameters, output) โ€” the CLI has no compute-over-symbol command, so it does not calculate the indicator on price data. journal/explore reads are exposed read-first; write-oriented and ml/pairs commands are not exposed yet.

The metric argument of run_optimize / run_walk_forward is a constrained enum (sharpe_ratio (default), sortino_ratio, calmar_ratio, total_return_pct, cagr_pct, profit_factor, win_rate_pct, expectancy_pct, omega_ratio) so clients can pick a valid optimization target without guessing. This enum is intentionally narrower than the alpha-forge CLI's --metric, which accepts a wider set โ€” it is curated to the bigger-is-better metrics that make sense as an optimization objective. trials defaults to 200 (the optimizer default). Each tool's description states its prerequisite (e.g. run_backtest needs fetch_data first; apply_optimization needs a run_optimize(save=true) result) and its follow-up.

Every argument also carries an inputSchema description, plus examples and constraints where they help: symbol shows exchange notation (AAPL, ^VIX, CL=F, USDJPY=X, BTC-USD), start / end advertise the YYYY-MM-DD pattern (format: date), trials / windows / simulations carry minimum: 1, and save_strategy(json_body) / apply_optimization(result_file) spell out "JSON body, not a path" vs "path, not inline JSON". Malformed arguments are rejected at the MCP boundary by schema validation.

The text-only (non---json) CLI wrappers return structured fields rather than only prose: apply_optimization adds applied_strategy_id (<strategy_id>_optimized, ready to pass to generate_pinescript), save_strategy returns the registered strategy_id, and fetch_data returns the fetched row count as rows (the raw output text is always kept).

Server instructions & long-running jobs

The server advertises instructions (surfaced in the MCP initialize response) describing the end-to-end workflow โ€” forge_status โ†’ fetch_data โ†’ run_backtest โ†’ run_optimize โ†’ run_walk_forward โ†’ apply_optimization โ†’ generate_pinescript โ€” so an agent knows which tools to call and in what order.

The run/fetch/save/apply tools are long-running (run_backtest up to 300 s, run_optimize / run_walk_forward up to 600 s, others bounded by the default timeout โ€” stated in each tool's description). They report progress to capable clients via MCP progress notifications (a start โ†’ complete bracket; the underlying alpha-forge subprocess does not expose intermediate progress) and run the blocking call off the event loop so the server stays responsive. The timeout is enforced by alpha-forge; on expiry the tool returns the timeout error code, which is safe to retry.

All tools carry MCP tool annotations (readOnlyHint for the read tools โ€” the list/ get lookups, generate_pinescript, forge_status, list_journals, get_journal, exploration_status, and get_indicator; openWorldHint for the run/write tools โ€” run_backtest / run_optimize / run_walk_forward / run_monte_carlo, plus fetch_data (fetches external market data), save_strategy and apply_optimization (write to the DB)) and return structured output โ€” structuredContent with an object outputSchema โ€” alongside the text result.

Error envelope

Every tool returns a uniform error envelope as its (always-successful) result rather than raising, so an agent can branch on the failure category mechanically instead of parsing free text:

  • Success: {"ok": true, "data": { ...alpha-forge JSON... }, "error": null}
  • Failure: {"ok": false, "data": null, "error": {"code": "<category>", "message": "<summary>", "detail": "<raw context>"}}

error.code is the machine-readable failure category โ€” e.g. forge_not_found (binary missing โ†’ guide setup), authentication_required (run alpha-forge system auth login), freemium_blocked (premium-only feature โ†’ stop), strategy_not_found, timeout (safe to retry), bad_output, execution_failed. error.message is a one-line summary; error.detail carries the raw context (forge stderr or the de-decorated freemium panel body, including the upgrade URL) when there is any, otherwise null. The outputSchema reflects this ok / data / error shape.

Resources

Read-only data is also exposed as MCP resources, so clients such as Claude Code can reference them by @-mention without an explicit tool call. They delegate to the same alpha-forge commands as the read tools and return application/json.

Resource URIPayload
forge://strategiesAll registered strategies
forge://strategy/{strategy_id}One strategy definition
forge://resultsAll saved backtest results
forge://result/{result_id}Metrics & trades of one result
forge://journalsAll strategies that have a journal
forge://journal/{strategy_id}Full journal (snapshots, runs, tags, notes) of one strategy
forge://explorationStrategy-exploration coverage map (default goal)
forge://indicator/{indicator}Metadata for one technical indicator

These mirror the read tools list_journals / get_journal / exploration_status / get_indicator. There is no forge://indicators collection resource because the CLI's indicator list is not wrapped as a tool/client method yet (only get_indicator is).

Prompts

Reusable workflows are exposed as MCP prompts (surfaced as /mcp__alpha-forge__<name> slash commands in Claude Code):

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • MCP Server Ledger logoMCP Server Ledger

    A ledger-cli integration for managing financial transactions and generating reports.

    ๐Ÿ’ฐ Finance & Fintech3 views
    Compare vs MCP Server Ledger โ†’
  • Brazilian Central Bank (BCB) MCP logoBrazilian Central Bank (BCB) MCP
    Verified

    MCP server for the Brazilian Central Bank (Banco Central do Brasil): SGS time series (Selic, IPCA, exchange rates, GDP and 139 curated, source-verified indicators), the Focus market-expectations survey and PTAX official exchange rates. 15 tools, 3 resources and 3 prompts, with provenance metadata on every response. Runs locally via npx (stdio) or through the hosted endpoint at https://bcb.sidneybissoli.com/mcp โ€” no API key or signup required.

    ๐Ÿ’ฐ Finance & Fintech7 views
    Compare vs Brazilian Central Bank (BCB) MCP โ†’
  • Flox MCP logoFlox MCP

    MCP server for the FLOX trading systems framework. 30 tools to run backtests, scaffold strategies, validate for lookahead bias, place orders, query PnL via Claude/Cursor. C++23 core with Python/Node/Codon/QuickJS strategy bindings. Same code from backtest to live (CcxtBroker or native connectors). Install: pip install flox-mcp.

    ๐Ÿ’ฐ Finance & Fintech3 views
    Compare vs Flox MCP โ†’
  • Backtesting Arena logoBacktesting Arena

    Crypto backtesting & Bitcoin cycle analytics. Point-in-time, DSR-corrected, look-ahead-aware.

    ๐Ÿ’ฐ Finance & Fintech5 views
    Compare vs Backtesting Arena โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
1
Stargazers on the source repository.
Last commit
1mo ago
Most recent push to the default branch.
Install check
Inconclusive
Install command did not finish in our automated test.
Tools exposed
17
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Alpha Forge MCP

No, it is a thin open-source wrapper that shells out to the closed-source alpha-forge CLI binary.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAlpha Forge MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alforge-labs-alpha-forge-mcp?style=directory)](https://allmcps.com/mcp/alforge-labs-alpha-forge-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/alforge-labs-alpha-forge-mcp"><img src="https://allmcps.com/api/badge/alforge-labs-alpha-forge-mcp?style=directory" alt="Alpha Forge MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ฐFinance & Fintech
PricingBring your own API key (usage-based cost)
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthAPI key
LicenseApache-2.0
ClientsClaude Desktop, Cursor, Cline / VS Code
Last updatedAug 9, 2026
10/10 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 21, 2026
55Quality signal: Good ยท 55/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools28/30
Adoption & activity3/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 24d ago via OSV.dev ยท alpha-forge-mcp (PyPI)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ฐ Finance & Fintech โ†’Best MCP servers for Finance & Fintech โ†’Alternatives to Alpha Forge MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code