0g-vibekit
v0.1.0
Published
0G Vibekit - AI-powered tools for 0G ecosystem. Works with Claude Code, Cursor, Windsurf.
Maintainers
Readme
0G Vibekit
AI-powered tools for the 0G ecosystem. Works with Claude Code, Cursor, Windsurf.
Two integration modes:
- MCP Mode - Claude/Cursor uses 0G tools (storage, compute, chain)
- API Mode - Use 0G Compute as your AI backend (like Ollama)
Quick Start
MCP Mode (Recommended)
Add to Claude Code:
claude mcp add 0g-vibe -- npx 0g-vibekitAdd to Cursor (.cursor/mcp.json):
{
"mcpServers": {
"0g-vibe": {
"command": "npx",
"args": ["0g-vibekit"]
}
}
}API Mode (Replace Claude with 0G)
# Start the API server
npx 0g-vibekit --api
# Configure Claude Code to use 0G
export ANTHROPIC_BASE_URL=http://localhost:3033
claude --model 0g:deepseek-coderFeatures
41 Tools Available
| Category | Tools | Description | |----------|-------|-------------| | Compute | 7 | AI inference on 0G's decentralized network | | Storage | 6 | Upload/download files to 0G Storage | | Chain | 6 | Interact with 0G Chain (balance, deploy, faucet) | | Launchpad | 10 | Launch and trade tokens on Vibecoin | | Docs | 12 | Search 0G documentation and examples |
Example Commands
# In Claude Code with MCP:
"Upload my-file.txt to 0G Storage"
"Launch a token called MoonCat with symbol MCAT"
"Check my 0G wallet balance"
"List AI models available on 0G Compute"
"Run inference using DeepSeek on 0G"API Mode Models
| Model | Description |
|-------|-------------|
| 0g:llama-3.1-8b | Fast, cheap - general tasks |
| 0g:llama-3.1-70b | Powerful - complex reasoning |
| 0g:deepseek-coder | Coding specialist |
| 0g:mistral-7b | Balanced performance |
| 0g:qwen-72b | Multilingual |
Configuration
Set environment variables for full functionality:
# Required for compute/storage/chain operations
export OG_PRIVATE_KEY=your_private_key
# Optional
export OG_NETWORK=testnet # or mainnet
export OG_LAUNCHPAD_URL=https://vibecoin-cards.vercel.appTool Reference
Compute Tools
0g_compute_list_services- List AI services on 0G0g_chat- Chat with AI models0g_code- Code completion/review/refactor0g_compute_balance- Check compute balance0g_compute_deposit- Add funds for inference0g_compute_estimate- Estimate costs0g_models- List available models
Storage Tools
0g_storage_upload- Upload file to 0G0g_storage_download- Download by root hash0g_storage_info- Get file metadata0g_storage_nodes- List storage nodes0g_kv_set- Set key-value pairs0g_kv_get- Get values
Chain Tools
0g_chain_balance- Check wallet balance0g_chain_tx- Get transaction details0g_chain_deploy- Deploy smart contracts0g_chain_faucet- Get testnet tokens0g_chain_call- Call contract methods0g_chain_send- Send transactions
Launchpad Tools
vibecoin_launch- Create new tokenvibecoin_status- Check token statusvibecoin_trending- Get trending tokensvibecoin_trade- Buy/sell tokensvibecoin_dashboard- TUI dashboardvibecoin_watch- Price watchvibecoin_open- Open in browser
Docs Tools
0g_docs- Search documentation0g_sdk_help- SDK usage help0g_examples- Code examples
Architecture
┌─────────────────────────────────────────────────────────────┐
│ 0G VIBEKIT │
├─────────────────────────────────────────────────────────────┤
│ │
│ MCP MODE (default) API MODE (--api) │
│ ┌─────────────────┐ ┌─────────────────┐ │
│ │ Claude/Cursor │ │ 0G replaces │ │
│ │ uses 0G tools │ │ Claude entirely │ │
│ │ │ │ │ │
│ │ 41 tools │ │ Anthropic API │ │
│ └─────────────────┘ └─────────────────┘ │
│ │
├─────────────────────────────────────────────────────────────┤
│ 0G INFRASTRUCTURE │
│ │
│ 0G Compute 0G Storage 0G Chain │
│ (AI Inference) (Files/KV) (EVM) │
└─────────────────────────────────────────────────────────────┘Development
# Clone and install
git clone https://github.com/0glabs/0g-vibekit
cd 0g-vibekit
npm install
# Development
npm run dev
# Build
npm run build
# Test MCP mode
node dist/index.js --helpLinks
License
MIT
