# Tactfolio

> Tactfolio is a freemium MCP server for trading analysis. MCP server for building and backtesting US stock and ETF strategies from an AI assistant. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** API, Web
- **Website:** https://tactfolio.com/docs/mcp
- **MCP Registry name:** com.tactfolio/tactfolio
- **Categories:** [trading analysis](https://ai-powered.com/categories/trading-analysis)
- **Listing updated:** 2026-11-19

## About

The Tactfolio MCP server lets an AI assistant such as Claude, ChatGPT, Cursor or Claude Code work inside your Tactfolio account. You describe a rule in plain language, and the assistant drafts it in the same builder you use, validates it, runs a backtest and saves it as a private strategy you can open and inspect.

Connection is handled by OAuth sign-in in your browser, so there is no API key to copy. Tools cover creating and editing drafts, searching tickers, backtesting single strategies or up to 12 variations, and reading the latest target allocation. The assistant cannot publish strategies, trade, or change account settings.

The server suits investors who want to test allocation rules on daily US-listed stock and ETF prices, with backtests run against historical data. Backtest allowances depend on plan, and the Free plan does not include backtests of your own strategies.

## Features

- **Plain-language strategy building:** The assistant turns a described rule into a draft strategy using the builder's blocks and validates it before a backtest.
- **Variant comparison:** backtest_variants tests up to 12 variations, picks one by criteria you set, and confirms it on separate dates.
- **Editable strategy trees:** Assistant-built strategies are the same trees you edit in the builder, so results can be checked before you rely on them.
- **Versioned saves:** Saving creates a new revision and earlier revisions are kept unchanged.
- **OAuth sign-in:** Access is approved in the browser, uses short-lived tokens, and can be revoked on the AI Agent page.
- **Broad client support:** Setup steps are documented for Claude, ChatGPT, Cursor, VS Code, Codex, Gemini CLI, OpenCode and other Streamable HTTP clients.

## Good for

- Backtesting a moving-average or trend rule on QQQ, SPY or bond ETFs from a chosen start year
- Comparing several lookback windows and checking the winner on later dates
- Rebuilding a rule found in an article and seeing where it performed worst
- Saving a private strategy draft to review in the Tactfolio builder before deciding anything

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http tactfolio https://tactfolio.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://tactfolio.com/mcp
```

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

```json
{
  "mcpServers": {
    "tactfolio": {
      "url": "https://tactfolio.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "tactfolio": {
      "type": "http",
      "url": "https://tactfolio.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tactfolio": {
      "serverUrl": "https://tactfolio.com/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://tactfolio.com/mcp
```

Enter a Name (for example "Tactfolio"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

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

```json
{
  "mcpServers": {
    "tactfolio": {
      "type": "http",
      "url": "https://tactfolio.com/mcp"
    }
  }
}
```

## Tools

- `connection_status`: Checks the connection and which account is signed in.
- `get_builder_contract`: Explains the blocks, settings, and exact edit formats.
- `create_strategy`: Starts a new draft, blank or from a starter pattern.
- `mutate_strategy`: Applies a batch of edits to a draft.
- `inspect_strategy`: Shows the outline of a draft.
- `validate_strategy`: Checks a draft against the full rules.
- `search_tickers`: Finds tickers and confirms their price history.
- `find_similar_tickers`: Lists close substitutes for a ticker that is hard to trade or has little history.
- `import_strategy`: Brings in a Composer symphony or a QuantMage spell as a private strategy.
- `backtest_strategy`: Runs a backtest.
- `backtest_variants`: Backtests up to 12 variations, picks one by your rules, and confirms it on separate dates.
- `get_latest_book`: Shows the target a strategy computes at the latest close, and whether it is due to rebalance then.
- `list_strategies`: Lists your saved strategies.
- `get_strategy`: Reads a saved strategy or one of its versions.
- `save_strategy`: Saves a draft as a new strategy or a new revision.
- `delete_strategy`: Deletes a strategy permanently.
- `send_feedback`: Sends the Tactfolio team a bug report, missing feature, or idea the assistant ran into.

## FAQ

### Does the Tactfolio MCP server place trades?

No. The documentation says the assistant cannot publish strategies, trade, or change account settings.

### Do I need an API key to connect?

No. Connection uses OAuth; you approve access in your browser and no API key or custom header is needed.

### Can I backtest on the Free plan?

Not your own strategies. The Free plan runs no assistant backtests and includes a build limit of five a day.

### Which assets can strategies use?

The pricing page says strategies are long only, on US-listed stocks and ETFs, using daily prices. Crypto, options, forex and CFDs are not traded.

### Is Tactfolio free?

Tactfolio has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add Tactfolio to Claude Code?

Run this command in your terminal: claude mcp add --transport http tactfolio https://tactfolio.com/mcp

### What are the best alternatives to Tactfolio?

The closest alternatives to Tactfolio are XTester Studio, Onv MCP, AStock Quant Toolkit and AIKIT by Trading Checkup.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [XTester Studio](https://ai-powered.com/mcp/xtester-studio): XTester Studio is an MCP server for trading analysis.
- [Onv MCP](https://ai-powered.com/mcp/onv-mcp): Onv MCP is a freemium MCP server for crypto and web3.
- [AStock Quant Toolkit](https://ai-powered.com/mcp/astock-quant-toolkit): AStock Quant Toolkit is an open-source MCP server for trading analysis.
- [AIKIT by Trading Checkup](https://ai-powered.com/mcp/aikit-by-trading-checkup): AIKIT by Trading Checkup is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/tactfolio
