# Actuary

The Actuary MCP server for Claude Code checks a token against a policy before a purchase and returns ALLOW, REVIEW, or DENY. Agents can request a pre-trade check on Robinhood Chain.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: actuaryai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/actuaryai/mcp
- Updated: 2026-11-13
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/actuary

## What it does

Actuary evaluates a token against policy rules before an agent buys it. The result is ALLOW, REVIEW, or DENY, with the triggered rules, supporting facts, and a signed receipt. `gate_batch` checks several tokens against one policy.

Policies can test facts such as whether a mint still has an owner or how many swaps occurred during the first hour. When a rule depends on missing data, the default outcome is REVIEW. The rule engine produces the verdict; its ALLOW and DENY decisions are final.

Local setup requires Node 20 or later and dependencies installed with `npm install`. A hosted endpoint is available for URL-based setup. Mandates are priced at $0.05 per seven-day period, payable in USDG on Robinhood Chain; automatic payment uses a wallet file set through `ACTUARY_PAY_KEY_FILE`.

## Requirements
- Remote server: `https://actuaryai.pro/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http actuary https://actuaryai.pro/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add actuary --url https://actuaryai.pro/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "actuary": {
            "url": "https://actuaryai.pro/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "actuary": {
            "type": "http",
            "url": "https://actuaryai.pro/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http actuary https://actuaryai.pro/mcp
```

## When to use it
- screen a token against a custom policy before buying
- inspect the reasons and signed receipt for a verdict
- check multiple tokens against the same policy
- track decision changes for a held token

## Example prompts
- Check this token against `my-agent-v1` before buying it.
- Run the policy against these tokens and return a separate receipt for each.
- Track this token with a mandate and report any decision change.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
