opcode
A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.
- 22.4k stars
- 1.7k forks
- 333 open issues
- Language: TypeScript
- License: AGPL-3.0
- updated
Install
git clone https://github.com/winfunc/opcode{
"mcpServers": {
"opcode": {
"command": "node",
"args": ["/path/to/opcode/dist/index.js"]
}
}
}{
"mcpServers": {
"opcode": {
"command": "node",
"args": ["/path/to/opcode/dist/index.js"]
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Clone https://github.com/winfunc/opcode and follow its README for install instructions.
Editor's note
Opcode is a desktop application built with Tauri 2 (Rust and TypeScript) that provides a graphical interface for managing Claude Code workflows. It connects to Claude Code via the Claude Code SDK and reads session data from the local `~/.claude/projects/` directory, letting developers browse project history, resume past sessions, and track token costs and API usage through visual charts. A custom agent builder allows users to define system prompts, select Claude models, configure file and network permissions, and run those agents as background processes with separate execution logs. Additional features include a timeline and checkpoint system that supports session versioning, one-click restore, and session forking with a diff viewer, as well as a built-in CLAUDE.md editor with live markdown preview. The app also manages MCP server configurations and can import existing server setups directly from Claude Desktop. Developers who rely heavily on Claude Code and want a visual layer over its command-line interface are the primary audience.
MCP Servers overview
opcode
A powerful GUI app and Toolkit for Claude Code Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.
https://github.com/user-attachments/assets/6bceea0f-60b6-4c3e-a745-b891de00b8d0
Tip
⭐ Star the repo and follow @getAsterisk on X for early access to
asteria-swe-v0.
Note
This project is not affiliated with, endorsed by, or sponsored by Anthropic. Claude is a trademark of Anthropic, PBC. This is an independent developer project using Claude.
🌟 Overview
opcode is a powerful desktop application that transforms how you interact with Claude Code. Built with Tauri 2, it provides a beautiful GUI for managing your Claude Code sessions, creating custom agents, tracking usage, and much more.
Think of opcode as your command center for Claude Code - bridging the gap between the command-line tool and a visual experience that makes AI-assisted development more intuitive and productive.
📋 Table of Contents
✨ Features
🗂️ Project & Session Management
Visual Project Browser: Navigate through all your Claude Code projects in
~/.claude/projects/Session History: View and resume past coding sessions with full context
Smart Search: Find projects and sessions quickly with built-in search
Session Insights: See first messages, timestamps, and session metadata at a glance
🤖 CC Agents
Custom AI Agents: Create specialized agents with custom system prompts and behaviors
Agent Library: Build a collection of purpose-built agents for different tasks
Background Execution: Run agents in separate processes for non-blocking operations
Execution History: Track all agent runs with detailed logs and performance metrics
📊 Usage Analytics Dashboard
Cost Tracking: Monitor your Claude API usage and costs in real-time
Token Analytics: Detailed breakdown by model, project, and time period
Visual Charts: Beautiful charts showing usage trends and patterns
Export Data: Export usage data for accounting and analysis
🔌 MCP Server Management
Server Registry: Manage Model Context Protocol servers from a central UI
Easy Configuration: Add servers via UI or import from existing configs
Connection Testing: Verify server connectivity before use
Claude Desktop Import: Import server configurations from Claude Desktop
⏰ Timeline & Checkpoints
Session Versioning: Create checkpoints at any point in your coding session
Visual Timeline: Navigate through your session history with a branching timeline
Instant Restore: Jump back to any checkpoint with one click
Fork Sessions: Create new branches from existing checkpoints
Diff Viewer: See exactly what changed between checkpoints
📝 CLAUDE.md Management
Built-in Editor: Edit CLAUDE.md files directly within the app
Live Preview: See your markdown rendered in real-time
Project Scanner: Find all CLAUDE.md files in your projects
Syntax Highlighting: Full markdown support with syntax highlighting
📖 Usage
Getting Started
Launch opcode: Open the application after installation
Welcome Screen: Choose between CC Agents or Projects
First Time Setup: opcode will automatically detect your
~/.claudedirectory
Managing Projects
Projects → Select Project → View Sessions → Resume or Start NewClick on any project to view its sessions
Each session shows the first message and timestamp
Resume sessions directly or start new ones
Creating Agents
CC Agents → Create Agent → Configure → ExecuteDesign Your Agent: Set name, icon, and system prompt
Configure Model: Choose between available Claude models
Set Permissions: Configure file read/write and network access
Execute Tasks: Run your agent on any project
Tracking Usage
Menu → Usage Dashboard → View AnalyticsMonitor costs by model, project, and date
Export data for reports
Set up usage alerts (coming soon)
Working with MCP Servers
Menu → MCP Manager → Add Server → ConfigureAdd servers manually or via JSON
Import from Claude Desktop configuration
Test connections before using
🚀 Installation
Prerequisites
Claude Code CLI: Install from Claude's official site
Release Executables Will Be Published Soon
🔨 Build from Source
Prerequisites
Before building opcode from source, ensure you have the following installed:
System Requirements
Operating System: Windows 10/11, macOS 11+, or Linux (Ubuntu 20.04+)
RAM: Minimum 4GB (8GB recommended)
Storage: At least 1GB free space
Required Tools
Rust (1.70.0 or later)
# Install via rustup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shBun (latest version)
# Install bun curl -fsSL https://bun.sh/install | bashGit
# Usually pre-installed, but if not: # Ubuntu/Debian: sudo apt install git # macOS: brew install git # Windows: Download from https://git-scm.comClaude Code CLI
Download and install from Claude's official site
Ensure
claudeis available in your PATH
Platform-Specific Dependencies
Linux (Ubuntu/Debian)
# Install system dependencies
sudo apt update
sudo apt install -y \
libwebkit2gtk-4.1-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf \
build-essential \
curl \
wget \
file \
libssl-dev \
libxdo-dev \
libsoup-3.0-dev \
libjavascriptcoregtk-4.1-devmacOS
# Install Xcode Command Line Tools
xcode-select --install
# Install additional dependencies via Homebrew (optional)
brew install pkg-configWindows
Install Microsoft C++ Build Tools
Install WebView2 (usually pre-installed on Windows 11)
Build Steps
Clone the Repository
git clone https://github.com/getAsterisk/opcode.git cd opcodeInstall Frontend Dependencies
bun installBuild the Application
For Development (with hot reload)
bun run tauri devFor Production Build
# Build the application bun run tauri build # The built executable will be in: # - Linux: src-tauri/target/release/ # - macOS: src-tauri/target/release/ # - Windows: src-tauri/target/release/Platform-Specific Build Options
Debug Build (faster compilation, larger binary)
bun run tauri build --debugUniversal Binary for macOS (Intel + Apple Silicon)
bun run tauri build --target universal-apple-darwin
Troubleshooting
Common Issues
"cargo not found" error
Ensure Rust is installed and
~/.cargo/binis in your PATHRun
source ~/.cargo/envor restart your terminal
Linux: "webkit2gtk not found" error
Install the webkit2gtk development packages listed above
On newer Ubuntu versions, you might need
libwebkit2gtk-4.0-dev
Windows: "MSVC not found" error
Install Visual Studio Build Tools with C++ support
Restart your terminal after installation
"claude command not found" error
Ensure Claude Code CLI is installed and in your PATH
Test with
claude --version
Build fails with "out of memory"
Try building with fewer parallel jobs:
cargo build -j 2Close other applications to free up RAM
Verify Your Build
After building, you can verify the application works:
# Run the built executable directly
# Linux/macOS
./src-tauri/target/release/opcode
# Windows
./src-tauri/target/release/opcode.exeBuild Artifacts
The build process creates several artifacts:
Executable: The main opcode application
What people ask about opcode
What is winfunc/opcode?
winfunc/opcode is mcp servers for the Claude AI ecosystem. A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more. It has 22.4k GitHub stars and its last recorded update is dated 2026-09-18.
How do I install opcode?
You can install opcode by cloning the repository (https://github.com/winfunc/opcode) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is winfunc/opcode safe to use?
Our security agent has analyzed winfunc/opcode and assigned a Trust Score of 97/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains winfunc/opcode?
winfunc/opcode is maintained by winfunc. The last recorded GitHub activity is dated 2026-09-18, with 333 open issues.
Are there alternatives to opcode?
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Maintain this repo? Show its Trust Score in your README
The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.
[](https://claudewave.com/en/repo/winfunc-opcode)<a href="https://claudewave.com/en/repo/winfunc-opcode"><img src="https://claudewave.com/api/badge/winfunc-opcode" alt="ClaudeWave Trust Score for winfunc/opcode" width="320" height="64"></a>