50c Documentation
100+ AI tools for your IDE via the Model Context Protocol.
Web search, secrets vault, domain management, deep reasoning, code execution, and more.
Quick Start
npx 50c install
Auto-configures MCP for Claude Desktop, Cursor, VS Code, Windsurf, Zed, and more.
100+ Tools
From free web search to enterprise AI
Pay Per Use
$0.00 - $0.65 per call, no subscriptions required
Any IDE
Local or hosted, if it supports MCP
Installation
50c works as both an MCP server (for IDEs) and a standalone CLI tool.
Automatic Setup (Recommended)
npx 50c install
Detects installed IDEs and automatically adds 50c to their MCP configuration.
Global Install
npm install -g 50c
Install globally to use CLI commands directly (e.g., 50c hints "topic").
Verify Installation
npx 50c status
API Key Setup
Get your API key at 50c.ai/subscribe. Free local tools work without a key via npx 50c.
Option 1: Environment Variable (Recommended)
Windows (PowerShell)
$env:FIFTYC_API_KEY = "cv_your_api_key_here"
Or set permanently via System Properties → Environment Variables
Mac / Linux
export FIFTYC_API_KEY="cv_your_api_key_here"
Add to ~/.zshrc or ~/.bashrc for persistence
Option 2: CLI Config
npx 50c config key cv_your_api_key_here
Stores in ~/.50c/config.json
Local IDE Setup
C Claude Desktop
Config location:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
Cu Cursor
Config: ~/.cursor/mcp.json
{
"mcpServers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
VS VS Code (GitHub Copilot)
Requires GitHub Copilot extension with MCP support. Config: .vscode/mcp.json in workspace or ~/.vscode/mcp.json globally.
{
"servers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
W Windsurf (Codeium)
Config: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
Z Zed
Config: ~/.config/zed/settings.json
{
"context_servers": {
"50c": {
"command": {
"path": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
}
V Verdent
Config: ~/.verdent/mcp.json
{
"mcpServers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
Cl Cline / Roo Code
Open Cline settings in VS Code → MCP Servers → Add Server
{
"mcpServers": {
"50c": {
"command": "npx",
"args": ["-y", "50c"],
"env": {
"FIFTYC_API_KEY": "cv_your_api_key"
}
}
}
}
Hosted IDE Setup
Note: Hosted IDEs require MCP support from the platform. Some may require using the REST API directly instead of the MCP server.
L Lovable
Lovable supports MCP servers via project settings.
- Open your Lovable project
- Go to Settings → Integrations → MCP Servers
- Click Add MCP Server
- Use the remote HTTP endpoint:
# Endpoint
https://api.50c.ai/mcp
# Headers
Authorization: Bearer cv_your_api_key
Or use the REST API directly in your Lovable app code.
R Replit
For Replit Agent or Ghostwriter with MCP support:
- Add
FIFTYC_API_KEYto Replit Secrets - In your
.replitfile or shell:
# Install and run MCP server
npx 50c
For direct API usage in your code:
import os
import requests
response = requests.post(
"https://api.50c.ai/v1/tools/web_search",
headers={"Authorization": f"Bearer {os.environ['FIFTYC_API_KEY']}"},
json={"query": "latest AI news"}
)
print(response.json())
B Bolt.new
Bolt.new supports external APIs. Use the REST API:
// In your Bolt.new project
const response = await fetch('https://api.50c.ai/v1/tools/genius', {
method: 'POST',
headers: {
'Authorization': 'Bearer cv_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({ problem: 'How do I optimize this algorithm?' })
});
const result = await response.json();
v0 v0.dev
v0 generates React components. Use 50c API in your generated code:
// Server action or API route
'use server'
export async function search(query: string) {
const res = await fetch('https://api.50c.ai/v1/tools/web_search', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.FIFTYC_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ query })
});
return res.json();
}
Tools by Tier
FREE Free Tier - 40+ Tools
Free local tools included with npx 50c. No API key required.
| Tool | Description | Cost |
|---|---|---|
web_search | Search the internet | FREE |
page_fetch | Fetch and extract content from URL | FREE |
domain_check | Check domain availability | FREE |
check_balance | Check your credit balance | FREE |
vault_status | Check vault status | FREE |
vault_init | Initialize vault with passphrase | FREE |
vault_unlock | Unlock vault for session | FREE |
vault_lock | Lock vault immediately | FREE |
vault_yolo | Stay unlocked until lock/reboot | FREE |
vault_add | Add credential to vault | FREE |
vault_get | Get credential from vault | FREE |
vault_list | List credentials in vault | FREE |
vault_delete | Delete credential from vault | FREE |
vault_add_proxies | Store proxy list in vault | FREE |
vault_get_proxy | Get proxy from stored list | FREE |
vault_list_proxies | List stored proxy lists | FREE |
dewey_add | Add item to Dewey index | FREE |
dewey_get | Get full details of indexed item | FREE |
dewey_search | Search your Dewey index | FREE |
dewey_list | List items with filters | FREE |
dewey_update | Update indexed item | FREE |
dewey_delete | Remove item from index | FREE |
dewey_stats | Get stats on your index | FREE |
roadmap_add | Add idea to roadmap | FREE |
roadmap_list | List roadmap ideas | FREE |
roadmap_update | Update roadmap item | FREE |
roadmap_delete | Delete roadmap item | FREE |
cf_list_zones | List Cloudflare zones | FREE |
cf_get_zone | Get zone details | FREE |
cf_find_zone | Find zone ID by domain | FREE |
cf_list_dns | List DNS records | FREE |
cf_ssl_status | Get SSL status | FREE |
cf_dev_mode | Toggle dev mode | FREE |
cf_under_attack | Toggle Under Attack mode | FREE |
50c_discover | Discover available packs | FREE |
50c_enable_pack | Enable a pack | FREE |
50c_disable_pack | Disable a pack | FREE |
50c_packs | List packs status | FREE |
learning_stats | View AI learning progress | FREE |
STARTER $29/mo Starter Tier - Paid AI Tools
1,000 credits/month. All Free tools plus:
| Tool | Description | Cost |
|---|---|---|
hints | 5 brutal hints, 2 words each | $0.05 |
hints_plus | 10 brutal hints, 4 words each | $0.10 |
roast | Brutal code review - 3 flaws + fixes | $0.05 |
quick_vibe | 3 unconventional ideas | $0.05 |
one_liner | Elevator pitch in 8 words | $0.02 |
name_it | 5 names + domain availability | $0.03 |
price_it | SaaS pricing strategy | $0.05 |
compute | Execute Python code (sandbox) | $0.02 |
ide_conversation | Multi-turn IDE chat | $0.20 |
PRO $99/mo Pro Tier - Advanced AI
10,000 credits/month. All Starter tools plus:
| Tool | Description | Cost |
|---|---|---|
genius | Deep problem solving with research | $0.50 |
mind_opener | 5 curious angles before solving | $0.08 |
idea_fold | Test claims with Feynman rigor | $0.10 |
agent_autopsy | Diagnose why AI agent failed | $0.10 |
prompt_fortress | Stress-test prompt security | $0.20 |
context_health | Token zone, density analysis | $0.05 |
context_compress | Extract and compress context | $0.08 |
context_extract | Extract decisions/entities | $0.05 |
context_reposition | Reorder for attention optimization | $0.05 |
bcalc | Mathematical discovery engine | $0.15 |
bcalc_why | Deep math explanation | $0.20 |
conversation_diagnostic | Detect loops, drift, hallucination | $0.15 |
handoff | Generate handoff document | $0.10 |
ENTERPRISE $499/mo Enterprise Tier - S-Tier AI
100,000 credits/month. All Pro tools plus:
| Tool | Description | Cost |
|---|---|---|
genius_plus | Self-improving code gen, learns from errors | $0.65 |
discovery_collision | Systematic tool combination engine | $0.25 |
cvi_loop | Constraint-Verified Intelligence loop | $0.30 |
cvi_verify | Verify output against constraints | $0.10 |
chaos_fingerprint | Number DNA clustering | $0.15 |
resonance | Divisor/digit-sum resonance | $0.10 |
prime_residue | Open conjecture testing | $0.15 |
echo_sequence | Novel sequence analysis | $0.10 |
WHM/cPanel Pack (Enterprise Only)
whm_list_accounts | List cPanel accounts | FREE |
whm_create_account | Create cPanel account | 5 cr |
whm_suspend_account | Suspend account | 2 cr |
whm_autossl_run | Run AutoSSL | 3 cr |
cp_create_email | Create email account | 2 cr |
ssh_exec | Execute SSH command | 3 cr |
Tool Packs
Vault Pack - Encrypted Secrets
Local encrypted vault for API keys, tokens, and credentials. AES-256 encryption.
# Initialize vault
vault_init passphrase="your-secure-passphrase"
# Add a secret
vault_add name="OPENAI_KEY" value="sk-..."
# Retrieve secret
vault_get name="OPENAI_KEY"
# Store proxies
vault_add_proxies name="residential" proxy_list="ip:port:user:pass\n..."
Dewey Pack - Knowledge Index
Personal knowledge base for files, articles, books, ideas, and snippets.
# Add an item
dewey_add title="React Patterns" type="article" tags=["react","patterns"]
# Search
dewey_search query="react hooks"
# List with filters
dewey_list type="book" min_rating=4
Cloudflare Pack - DNS & CDN
Manage Cloudflare zones, DNS, SSL, and caching. Requires CF API token in vault.
# Store your Cloudflare token
vault_add name="CF_API_TOKEN" value="your-cf-token"
# List zones
cf_list_zones
# Create DNS record
cf_create_dns zone_id="xxx" type="A" name="api" content="1.2.3.4" proxied=true
# Point domain to server
cf_point_to_server zone_id="xxx" ip="1.2.3.4"
WHM/cPanel Pack - Server Management
Enterprise only. Manage WHM servers, cPanel accounts, email, databases.
# Store WHM credentials
vault_add name="WHM_HOST" value="server.example.com"
vault_add name="WHM_TOKEN" value="your-api-token"
# List accounts
whm_list_accounts
# Create account
whm_create_account username="newuser" domain="example.com"
# Run AutoSSL
whm_autossl_run user="newuser"
Context Pack - Token Management
Pro+. Analyze, compress, and optimize LLM context windows.
# Check context health
context_health text="your long context..."
# Compress context
context_compress text="verbose conversation..."
# Extract key info
context_extract text="..." extract_type="decisions"
# Reposition for attention
context_reposition text="..."
Math Discovery Pack
Pro+. Mathematical exploration, conjecture testing, pattern discovery.
# Explore a math expression
bcalc expression="sum of reciprocals of primes" mode="explore"
# Deep explanation
bcalc_why expression="why does e^(i*pi) = -1"
# Chaos fingerprinting
chaos_fingerprint limit=10000
# Novel sequence
echo_sequence n=100
CLI Reference
Installation
# Via npx (no install)
npx 50c [command]
# Global install
npm install -g 50c
50c [command]
Commands
| Command | Description |
|---|---|
50c install | Auto-configure MCP for detected IDEs |
50c status | Check hub connectivity and status |
50c balance | Check credit balance |
50c packs | List enabled/available packs |
50c add <pack> | Enable a pack |
50c remove <pack> | Disable a pack |
50c config key <key> | Set API key |
50c config show | Show current config |
50c hints "topic" | Get 5 brutal hints ($0.05) |
50c genius "problem" | Deep problem solving ($0.50) |
50c roast "code" | Code review ($0.05) |
50c compute "code" | Run Python ($0.02) |
50c search "query" | Web search (FREE) |
REST API
Base URL
https://api.50c.ai/v1
Authentication
Authorization: Bearer cv_your_api_key
Endpoints
Check Balance
GET /balance
Response:
{
"credits": 1000,
"tier": "starter"
}
Call a Tool
POST /tools/{tool_name}
Content-Type: application/json
{
"param1": "value1",
"param2": "value2"
}
Response:
{
"result": "...",
"cost": 0.05,
"remaining_credits": 995
}
Example: Web Search
curl -X POST https://api.50c.ai/v1/tools/web_search \
-H "Authorization: Bearer cv_your_api_key" \
-H "Content-Type: application/json" \
-d '{"query": "latest AI news"}'
Example: Genius
curl -X POST https://api.50c.ai/v1/tools/genius \
-H "Authorization: Bearer cv_your_api_key" \
-H "Content-Type: application/json" \
-d '{"problem": "How do I optimize a React app for performance?", "research": true}'
Pricing
Free
$0
Forever
- 40+ free tools
- No credit card
- Web search, vault, dewey
Starter
$29/mo
1,000 credits
- All free tools +
- Hints, roast, compute
- $0.05 overage
Pro - Popular
$99/mo
10,000 credits
- All starter tools +
- Genius, context tools
- $0.03 overage
Enterprise
$499/mo
100,000 credits
- All pro tools +
- WHM, genius_plus, CVI
- 1,000 req/min