OpenZeppelin Solidity Contracts — Claude Code MCP server
OpenZeppelin Solidity Contracts gives coding assistants direct access to OpenZeppelin Solidity smart contracts inside compatible development environments.
no license updated 2026-10-29
Open on GitHubWhat OpenZeppelin Solidity Contracts does
This MCP server connects language models to OpenZeppelin Solidity smart contracts. It enables assistants to fetch standard implementations and helper modules while drafting contract code.
The tool communicates via Model Context Protocol with Claude Code, Cursor, Codex, and other supported editors. Your coding environment requires proper MCP configuration before the agent can query contract source files.
What it helps with
- fetch OpenZeppelin contract files into editor context
- inspect standard Solidity implementations during drafting
- feed OpenZeppelin contract references directly to the agent
Example prompts for the agent
- Inspect the OpenZeppelin ERC20 contract implementation
- Show me the source of the Ownable contract in OpenZeppelin
How to install OpenZeppelin Solidity Contracts
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about OpenZeppelin Solidity Contracts
What does OpenZeppelin Solidity Contracts do?
It allows AI coding assistants to look up OpenZeppelin Solidity contract sources and references directly.
How to set up OpenZeppelin Solidity Contracts in Claude Code?
Configure the server definition inside your MCP client settings file for Claude Code.
Which clients support this MCP server?
It functions with Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed, and Gemini CLI.