# Pacta

> Pacta is a free MCP server for finance and payments. Free pre-execution checks on who can change a DeFi contract, before an agent calls it. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, CLI
- **Website:** https://pacta.wtf
- **Repository:** https://github.com/fractal-neurons/pacta/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.Fractal-Neurons/pacta
- **Categories:** finance and payments, security
- **Listing updated:** 2026-11-15

## About

Before an agent approves, deposits into or calls a contract, Pacta's pre-flight check reports who controls it (an EOA, a Safe, a timelock or nobody), how quickly they can act, and whether they can pause, blacklist or upgrade. The answer includes a verdict, a 0-100 risk score and proxy, admin and timelock details, pinned to a block hash so it can be reproduced with cast.

The hosted MCP at pacta-x402.pacta.workers.dev serves read-only inspection tools plus an opt-in request tool. The stdio package in the repository is run from a clone and adds more tools, with a catalogue covering 38 protocols attested on Base EAS, 20 observed via RPC and 8 briefs. The gateway is free during launch, with 60 requests a minute per caller; x402 USDC prices apply only if metering is switched on.

Answers describe on-chain control structure, not a security audit.

## Features

- **Pre-flight check:** Verdict, risk score and proxy, admin and timelock breakdown at a pinned block.
- **Protocol lookup:** Resolve a name like Aave or USDe to the chain and address to check.
- **Control-plane records:** List dual-RPC-verified commitments and governance proposals.
- **Base EAS anchors:** Attestations on Base Mainnet back part of the catalogue.
- **Read-only tools:** Inspection tools are annotated read-only and non-destructive.
- **Remote or local:** Use the hosted endpoint or run the stdio server from a clone.

## Good for

- Check who can upgrade a vault before depositing
- Look up a protocol by token name
- Compare timelock delays across protocols
- Verify a claim with the cast commands returned

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http pacta https://pacta-x402.pacta.workers.dev/mcp
```

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

```sh
https://pacta-x402.pacta.workers.dev/mcp
```

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

```json
{
  "mcpServers": {
    "pacta": {
      "url": "https://pacta-x402.pacta.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "pacta": {
      "type": "http",
      "url": "https://pacta-x402.pacta.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "pacta": {
      "serverUrl": "https://pacta-x402.pacta.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "pacta": {
      "type": "http",
      "url": "https://pacta-x402.pacta.workers.dev/mcp"
    }
  }
}
```

## Tools

- `pacta_lookup_protocol`: Resolve a protocol or token name to Pacta's verified record: canonical slug and page URL, checksummed primary contract and controller, classification with its evidence basis (Base-EAS-attested vs RPC-observed only), and ready-to-use preflightArgs {chain, address} for pacta_check_preflight. 74 protocols + 8 briefs, answered in memory (no RPC). Free in every pricing mode.
- `pacta_check_preflight`: One-call pre-execution safety check of a contract before an agent interacts with it: verdict (immutable / timelock / zero-delay timelock / multisig / EOA admin / unclassified / undeployed), 0-100 risk score, proxy + implementation, controller kind, zero-delay upgradeability and pause / blacklist / upgrade capabilities, pinned to a block. Free during the launch (no key, no payment).
- `pacta_scan_control_plane`: Live control-plane scan of an EVM contract: EIP-1967 implementation/admin/beacon, owner(), Safe threshold/owners/guard, timelock delay, code size and deterministic risk flags at the latest (or a given) block. Free during the launch (no key, no payment).
- `pacta_scan_timelock_op`: Live OpenZeppelin TimelockController operation state: isOperation/Pending/Ready/Done, getTimestamp (ETA), getMinDelay at the latest block. Free during the launch (no key, no payment).
- `pacta_scan_proposal_diff`: Re-runs the pinned contract reads of a Pacta-tracked governance proposal (Aave, Euler, Morpho, Sky) at the live block and returns pinned-vs-live diffs. Free during the launch (no key, no payment).
- `pacta_get_live_timelocks`: Live state of the public pending timelock operations tracked in https://pacta.wtf/api/v1/radar.json, each re-checked at the latest block (getTimestamp, isOperationPending, isOperationDone). Free during the launch (no key, no payment).
- `pacta_submit_request`: Opt-in: queue a coverage or feature request with Pacta when a target is not indexed, a chain or check is unsupported, or data looks wrong (coverage_gap_hint). Ask the user first. Free in every pricing mode, 5 per hour; an identical request_type + target_subject upvotes the existing request (same request_id). Returns request_id, status, demand_votes and an optional fast_track_url. Never opens a Git

## FAQ

### Is it free?

Yes during the launch: no API key, no wallet, 60 requests per minute per caller.

### Is it on npm?

The README says the stdio package is not published on npm yet; run it from a clone or use the hosted endpoint.

### Which chains?

The lookup accepts Ethereum and Base.

### Can I reproduce results?

Answers are pinned to a block hash and reproducible with cast.

### Is Pacta free?

Yes. Pacta is free to use.

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

Run this command in your terminal: claude mcp add --transport http pacta https://pacta-x402.pacta.workers.dev/mcp

### What are the best alternatives to Pacta?

The closest alternatives to Pacta are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [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.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.

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