# Agent Financial Advisor

> Agent Financial Advisor is a paid MCP server for finance and payments. Pre-trade compliance, sizing, tax-lot and audit checks that AI trading agents pay per call. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, self-hosted
- **Website:** https://agent-financial-advisor.agent-financial-advisor.workers.dev
- **Repository:** https://github.com/mytomclinic/agent-financial-advisor
- **MCP Registry name:** io.github.mytomclinic/agent-financial-advisor
- **Categories:** finance and payments
- **Listing updated:** 2026-11-15

## About

This server acts as a rule-based second opinion for agents that trade or advise. The README calls its checks deterministic and sourced to regulation, with a rules version dated 2026-10-18. The free rules digest lists current US trading, margin, settlement and tax rules with effective dates, including the June 2026 replacement of the Pattern Day Trader rule.

The paid tools are priced per call. A pre-trade check ($0.005) tests buying power, cash-account settlement, intraday margin, Reg SHO, wash sales, concentration, stop risk, liquidity, fat-finger prices and market hours, and returns approve, approve with warnings or reject. Others size positions ($0.005), plan tax lots ($0.02), review a portfolio ($0.05), audit a strategy with deflated Sharpe ratio tests ($0.10), run a Reg BI suitability check that returns a hashed memo ($0.03), check options books ($0.01) and write a decision memo ($0.10, paid only).

Payment works with credits or x402 in USDC, and keyed paid calls are written to a hash-chained, server-signed audit log. Calling a priced tool with an empty body returns a free demo. The code runs on Node 20 with no dependencies. It is a rules aid, and the README does not present it as regulated advice.

## Features

- **Pre-trade check:** Approve, warn or reject an order against margin, settlement, short-sale and wash-sale rules.
- **Position sizing:** Fixed-fractional, volatility-target or fractional-Kelly sizing with caps.
- **Tax-lot planning:** Compares FIFO, LIFO, HIFO and minimum-tax lot choices and scans for harvesting.
- **Strategy audit:** Tests whether an edge is real with t-stat and Deflated Sharpe Ratio.
- **Options risk check:** Margin, assignment risk, pin risk and net Greeks for an options book.
- **Signed audit log:** Keyed paid calls are hash-chained and server-signed.

## Good for

- Block a fat-finger or non-compliant order before it reaches a broker
- Size a position from a stop distance
- Choose which tax lots to sell
- Audit a backtest for overfitting
- Document suitability before recommending a portfolio

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agent-financial-advisor https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp
```

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

```sh
https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp
```

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

```json
{
  "mcpServers": {
    "agent-financial-advisor": {
      "url": "https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "agent-financial-advisor": {
      "type": "http",
      "url": "https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-financial-advisor": {
      "serverUrl": "https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-financial-advisor": {
      "type": "http",
      "url": "https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp"
    }
  }
}
```

## Tools

- `rules_digest`: Current US trading, margin, settlement and tax rules with dates and sources
- `pre_trade_check`: Compliance and risk check before an order
- `position_size`: Position sizing
- `tax_lot_plan`: Lot selection and wash-sale planning
- `portfolio_review`: Portfolio weights, risk and rebalance trades
- `strategy_audit`: Performance audit of a strategy or backtest
- `suitability_check`: Reg BI suitability review with hashed memo
- `options_risk_check`: Options book margin and risk check
- `advisor_memo`: Written decision memo from the other checks
- `get_api_key`: Free API key

## FAQ

### What does it cost?

Prices run from $0.005 to $0.10 per call; the rules digest is free and each key's first advisor memo is free.

### How do I pay?

With credits or x402 in USDC; a free API key is available.

### Can I try it first?

Calling a priced tool with an empty body returns a free demo with a worked example.

### What does it need to self-host?

Node.js 20 or newer and no dependencies.

### Is Agent Financial Advisor free?

No. Agent Financial Advisor is a paid product.

### How do I add Agent Financial Advisor to Claude Code?

Run this command in your terminal: claude mcp add --transport http agent-financial-advisor https://agent-financial-advisor.agent-financial-advisor.workers.dev/mcp

### What are the best alternatives to Agent Financial Advisor?

The closest alternatives to Agent Financial Advisor are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

## Alternatives

- [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.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/agent-financial-advisor
