Audit smart contracts and optimize gas usage inside your AI code editor. Cursor, VS Code Copilot, Windsurf, Claude Desktop — any MCP client.
npx blockhertz-mcpblockhertz-mcp is an MCP (Model Context Protocol) server that connects the Blockhertz AI Security API to AI code editors. Install it once and your AI assistant can audit smart contracts and optimize gas usage without leaving your IDE. Supports Solidity, Rust, Move, and Vyper. Works with Cursor, VS Code with GitHub Copilot, Windsurf, Claude Desktop, and any MCP-compatible client. Free tier: 3 audits per day — no credit card required.
0.1.3
Current Version
Free
3 Audits / Day
MIT
License
2 Tools
Audit + Gas
Last day
Last 7 days
Last 30 days
All-time
Pick your editor and paste the config. Replace your-api-key with your Blockhertz API key.
{
"mcpServers": {
"blockhertz": {
"command": "blockhertz-mcp",
"args": [],
"env": {
"BLOCKHERTZ_API_KEY": "your-api-key"
}
}
}
}Get your free API key at blockhertz.com/tools/dashboard
Two tools your AI assistant can call after setup.
audit_contractAudits a smart contract for security vulnerabilities. Supports Solidity, Rust, Move, and Vyper.
Parameters
code(string, required)— The contract source codelanguage(string, required)— One of: solidity, rust, move, vyperReturns
Severity-ranked findings (Critical / High / Medium / Low / Info)
optimize_gasAnalyzes a Solidity contract for gas inefficiencies and returns an optimized version with annotations.
Parameters
code(string, required)— The Solidity contract source codeReturns
Optimized contract with GAS-OPT annotations + savings report
Works in Cursor, VS Code Copilot, Windsurf, Claude Desktop, and any MCP-compatible client
Same AI engine as the Blockhertz web auditor — Solidity, Rust, Move, Vyper
Free tier: 3 audits/day — no credit card required
blockhertz-mcp is free and open-source. Tool calls consume Blockhertz API credits.
Free
$0
Get Started
Starter
$19
One-time
Unlimited
$99/mo
Per month
Each MCP tool call = 1 credit. Free API key at blockhertz.com/tools/dashboard/api-keys.
Get your free API key and install blockhertz-mcp in 30 seconds.
Get Free API KeyFAQ
blockhertz-mcp is an MCP (Model Context Protocol) server that connects the Blockhertz AI Security API to AI code editors. Install it once and your AI assistant can audit smart contracts and optimize gas usage without leaving your IDE.
Any MCP-compatible client works — including Cursor, VS Code with GitHub Copilot, Windsurf, and Claude Desktop. If your editor supports the Model Context Protocol, blockhertz-mcp works with it.
Yes. Free tier gives 3 audits per day with no credit card required. Create a free account at blockhertz.com to track your usage. Upgrade to Pro for unlimited audits.
blockhertz-mcp supports Solidity, Rust, Move, and Vyper — the same languages supported by the Blockhertz web auditor.
No account is required for anonymous use (1 audit/day). Create a free account to get 3 audits/day and an API key for editor integration.
The web auditor runs at blockhertz.com/tools/ai-auditor in your browser. blockhertz-mcp runs inside your AI code editor via the Model Context Protocol — your AI assistant calls it as a tool, so you never leave your coding environment.
5
Last day
1,083
Last 7 days
1,083
Last 30 days
1,083
All-time