Overview Q & A Rating & Review
CodeClaude - AI Assistant for Visual Studio
CodeClaude brings a Cursor-like AI experience directly into Visual Studio, powered by Claude.
✨ Features
Explain selected code
Fix bugs automatically
Refactor for clean architecture
AI chat with active file context
Streaming responses (real-time)
📍 How to Open
After installation:
👉 Go to: View → CodeClaude Assistant
This opens the AI tool window inside Visual Studio.
🔐 Setup Required
CodeClaude uses Claude API.
You must set your API key as a Windows environment variable:
Variable Name:ANTHROPIC _API_KEY
How to set it:
Option 1 (Command Prompt)
setx ANTHROPIC _API_KEY "your-api-key"
Option 2 (System Settings)
Open Start Menu
Search: "Environment Variables"
Open "Edit system environment variables"
Click "Environment Variables"
Add under User Variables:
Name: ANTHROPIC _API_KEY
Value: your API key
Restart Visual Studio
🚀 Usage
Open any code file
Open CodeClaude Assistant
Click:
Explain
Fix
Refactor
Or type custom prompt
🧠 Requirements
Visual Studio 2022 / 2026
.NET Framework 4.7.2+
Internet connection
📸 Preview
⚠ Notes
Do not share your API key
Extension does not store keys locally