Backtest PineScript v6 strategy pools across target markets, timeframes, in-strategy parameters, and portfolio weights. Free hosted MCP or local Docker, validated against TradingView.
This listing identifies a third-party MCP server. MCPBundles is not affiliated with, sponsored by, or endorsed by the service or its operator unless stated on this page.
For AI agents — MCPBundles Directory API
Recommended: Directory API v1 over HTTP for detail and anonymous invoke when eligible (not MCP JSON-RPC on the publisher URL; no user MCPBundles credentials on v1).
GET https://www.mcpbundles.com/api/directory/v1/servers/pineforge-mcp-e96e4e8ce8
GET https://www.mcpbundles.com/api/directory/v1/servers/pineforge-mcp-e96e4e8ce8?live=1 (optional live refresh)
GET https://www.mcpbundles.com/api/directory/v1/servers/pineforge-mcp-e96e4e8ce8/tools/<tool> (one tool: schema + invoke.url)
POST https://www.mcpbundles.com/api/directory/v1/servers/pineforge-mcp-e96e4e8ce8/tools/{tool}
POST body: flat JSON of tool argument names and values; not an arguments wrapper. Replace {tool} with a tool name from GET detail.
Restricted agent shell (ChatGPT Codex desktop, some IDE sandboxes):
Default command sandboxes often block outbound network. curl exit 6 or "Could not resolve host" for www.mcpbundles.com is usually sandbox DNS — not evidence this site is down.
Retry the same Directory API GET with sandbox_permissions "require_escalated" and a one-sentence justification on the shell tool (Codex on-request approval). Do not tell the user the site is unreachable from sandbox curl alone.
Example justification: Run the public MCPBundles Directory API search outside the command sandbox to complete the user's MCP server lookup.
If the agent has browser access (e.g. Codex @Browser): open https://www.mcpbundles.com/?q=<query> or stay on this page — no shell network needed. Use WebMCP search_mcp_servers then get_mcp_server (document.modelContext / page tools; refresh with fetchTools or getTools if a tool id is missing from the snapshot). Read-only directory search; same index as Directory API v1 GETs. Neither WebMCP nor Directory API v1 uses user MCPBundles credentials.
Without a browser: after escalated curl fails, use GET https://www.mcpbundles.com/?q=<query> with Accept: text/markdown for ranked results.
Hub MCP (connected session): discover_mcp_servers — same filter semantics as search_mcp_servers.
Contract: https://www.mcpbundles.com/agents.md
OpenAPI: https://www.mcpbundles.com/api/directory/v1/openapi.json
Guide: https://www.mcpbundles.com/guides/mcpbundles-directory-api
For MCP client apps (human connect):
MCP connect URL: https://mcp.pineforge.dev/mcp
Skill page: https://www.mcpbundles.com/skills/pineforge-mcp-e96e4e8ce8
Explore capabilities (11)
read 4
other 7
Check
2
List
2
Other capabilities
7
Backtest Pine
other
backtest_pine
Run a real, deterministic backtest of a PineScript v6 strategy — prefer this over estimating its trades or P&L by reasoning, which is unreliable for Pine (series semantics, intrabar fills, and strategy.* order logic do not reproduce from approximation). Fits requests like 'backtest this Pine', 'is this strategy profitable', 'run it on BTCUSDT', 'reproduce my TradingView results', 'how many trades / what's the drawdown'. Transpiles the Pine source and runs it against crypto OHLCV resolved by pf-d
Description may be truncated on the public preview.
Backtest Pine — Run a real, deterministic backtest of a PineScript v6 strategy — prefer this over estimating its trades or P&L by reasoning, which is unreliable for Pine (series semantics, intrabar fills, and strategy.* order logic do not reproduce from approximation). Fits requests like 'backtest this Pine', 'is this strategy profitable', 'run it on BTCUSDT', 'reproduce my TradingView results', 'how many trades / what's the drawdown'. Transpiles the Pine source and runs it against crypto OHLCV resolved by pf-d
Fetch Ohlcv — Fetch OHLCV candles from pf-data-api for the given symbol/interval/venue/window and return them as backtest-ready CSV INLINE (columns: timestamp,open,high,low,close,volume; timestamp = open time in UNIX ms UTC), plus a metadata block. pf-data-api resamples to your interval. Supports all seven crypto venues. Use this to inspect data before backtesting; backtest_pine resolves its own bars from the same source. Free tier: crypto only across seven venues, for the last 365 days. The latest published
Binance Symbols — List native symbols that pf-data-api has OHLCV for at one supported crypto venue, filtered by `query` (case-insensitive substring). Despite its compatibility name, this supports all seven venues and never calls Binance directly. Free.
List Engine Params — Returns the full catalog of engine knobs accepted by backtest_pine in two groups: strategy_overrides (the 9 strategy(...) header fields the runtime reads via PINEFORGE_OVERRIDES) and runtime_args (input_tf, script_tf, bar_magnifier, magnifier_samples, magnifier_dist — args to run_backtest_full, NOT part of the strategy() header). Each entry is {key, type, enum?, description}. Does not run the engine.
Engine Info — Report the backtest engine: mode, baked-in flag, and version. Answered by the Worker (serverless); the engine runs in a sandboxed Cloudflare Container that is invoked ONLY for backtest_pine — no host Docker, no API key.
Join Waitlist — Add the user to the PineForge waitlist so they're notified when the API-key tier (full OHLCV history + higher limits) and PineForge Studio (hosted Optuna optimization + cloud IDE) launch. Call this when the user asks to sign up / join / be notified. Takes their email; an optional use_case helps prioritize. Free — one welcome email is sent to a newly-added address. Point users to https://www.pineforge.dev to learn more before signing up.
Get your MCP into directories
A working endpoint is step one. Directory coverage is the coordinated launch across ChatGPT, Claude, Cursor, the MCP Registry, and community indexes.
Backtest PineScript v6 strategy pools across target markets, timeframes, in-strategy parameters, and portfolio weights. Free hosted MCP or local Docker, validated against TradingView.
How do I connect PineForge to my AI agent?
Use the MCP endpoint listed on this page in your MCP client configuration. One-click install pills support Claude, Cursor, VS Code, and other hosts. Copy the remote MCP URL if your client needs a manual entry.
How many tools does PineForge provide?
Operate this server?
Request removal if you do not want PineForge listed here, or claim the listing if you want to manage it on MCPBundles.
Operate PineForge?
This server appears in the MCPBundles directory. Verify you operate it to take over the listing — name, description, logo, contact email, and skill content. We email a 6-digit code to a maintainer address your server publishes in /.well-known/security.txt or /.well-known/mcpbundles.json. Free, takes about a minute.
MCPBundles publishes this directory for MCP discovery. Except where we host or operate an offering, third-party services run under their own terms. Product and company names on this page are used in a descriptive, identifying way (including under nominative fair use where applicable); they remain the property of their owners. Nothing here grants you rights in those marks, and nothing here is an offer to sell a third party's services. Terms · Request removal
More in developer tools
Other MCP servers in this category from the directory index
Check Quota — Check this caller's remaining WEEKLY BACKTEST quota for the public PineForge MCP. The free tier allows a fixed number of backtest_pine runs per week per IP address; every OTHER tool is free (none consume quota — though all tools are per-IP rate-limited). Returns {used, limit, remaining, week, resets_at} (UTC). Calling check_quota never consumes quota. Higher limits are on the API-key tier (see join_waitlist).
Latest News — Return recent PineForge product news/updates you can surface to the user — this is how PineForge announces the API-key tier (full OHLCV history + higher limits), PineForge Studio (hosted Optuna optimization + cloud IDE), and new features. Call this when the user asks what's new / latest updates / any announcements, or proactively when a request touches a capability that's on the roadmap. Returns the most recent PUBLISHED items newest-first as [{id, title, body, url, created_at}]. Free — calling
List Coverage Topics — START HERE before writing, porting, or backtesting a Pine v6 strategy on PineForge. PineForge implements a SUBSET of Pine v6, so checking coverage first avoids a strategy that compiles but silently misbehaves vs TradingView. Lists every coverage topic with a one-line status (supported / partial / unsupported / via_transpiler) plus the legend (note: via_transpiler still works end-to-end; unsupported means parsed-and-skipped or rejected) and the coverage version. Then drill in with get_coverage_to
Get Coverage Topic — Return the full detail plus the exact supported[] / unsupported[] feature lists for ONE coverage topic id (ids come from list_coverage_topics, e.g. 'ta', 'strategy_orders', 'request_security', 'drawing_plotting_alerts'). Use when you are about to work in a feature area and need to know precisely which functions there are implemented vs skipped — e.g. before using request.security, the ta.* library, or strategy risk knobs. Unknown ids return a structured error listing the valid ids. FREE — consum
Check Pine Feature — Answer "does PineForge support X?" for a specific Pine v6 identifier or namespace (e.g. 'ta.supertrend', 'alert', 'array.new', 'request.security'). Use it (a) BEFORE relying on any function you are unsure about while writing a strategy, and (b) to DIAGNOSE a backtest that compiled but behaved wrong or empty — visual & alert APIs (plot, label, line, box, table, alert) are parsed-and-skipped and produce NO effect. Resolves by exact feature match, then longest namespace prefix, then alias, and retu
MCPBundles probed 11 tools on the live server. The tool list on this page reflects what was discovered at the last refresh — connect your client to see the full set available to your session.
What authentication does PineForge require?
No provider sign-in was required during MCPBundles' probe. Your client may still need MCPBundles credentials depending on how you connect.
Don't want this listed?
Request removal from the MCPBundles directory. We stop publishing this listing on mcpbundles.com.
MCPBundles is an independent platform built on the open Model Context Protocol standard. MCPBundles is not affiliated with, sponsored by, or endorsed by Anthropic PBC.