Claude
Configure Claude to work with Cadence via skills, MCP, or context injection.
Claude Code
Install Flow's skill library
The official onflow/flow-ai-tools marketplace ships the full Cadence + Flow skill suite under one plugin:
/plugin marketplace add onflow/flow-ai-tools
/plugin install flow-dev@flow-ai-toolsSee Skills for the full skill list.
Add MCP server
claude mcp add --scope user cadence-mcp -- flow mcpThis registers the Cadence MCP server — built into the Flow CLI as the flow mcp subcommand. Gives Claude Code access to Cadence code checking, type inspection, symbol lookup, contract source fetching, and read-only on-chain script execution. Requires Flow CLI ≥ v2.16.0.
Claude Desktop
Add the Cadence MCP server to your claude_desktop_config.json:
{
"mcpServers": {
"cadence-mcp": {
"command": "flow",
"args": ["mcp"]
}
}
}Claude API
When building with the Claude API, inject Cadence context into the system prompt:
# Fetch the full documentation
curl -s https://cadence-lang.org/llms-full.txtOr use the MCP endpoint for programmatic access to documentation and language tools.