# MCP Contracts

> MCP Contracts is an open-source MCP server for legal and government. MCP server for smart contract ABIs and on-chain data from EVM and Solana via Crypto APIs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/cryptoapis-io/cryptoapis-mcp-contracts
- **MCP Registry name:** io.github.CryptoAPIs-io/mcp-contracts
- **Categories:** legal and government
- **Listing updated:** 2026-11-13

## About

MCP server for smart contract ABIs and on-chain data from EVM and Solana via Crypto APIs

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-contracts --env CRYPTOAPIS_API_KEY='<CRYPTOAPIS_API_KEY>' -- npx -y @cryptoapis-io/mcp-contracts
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-contracts"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "<CRYPTOAPIS_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-contracts"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "<CRYPTOAPIS_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp-contracts": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-contracts"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "<CRYPTOAPIS_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-contracts"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "<CRYPTOAPIS_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-contracts"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "<CRYPTOAPIS_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is MCP Contracts free?

Yes. MCP Contracts is open source, so you can use and self-host it for free.

### How do I add MCP Contracts to Claude Code?

Run this command in your terminal: claude mcp add mcp-contracts --env CRYPTOAPIS_API_KEY='<CRYPTOAPIS_API_KEY>' -- npx -y @cryptoapis-io/mcp-contracts

### What are the best alternatives to MCP Contracts?

The closest alternatives to MCP Contracts are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.

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