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.

  1. Open your Lovable project
  2. Go to Settings → Integrations → MCP Servers
  3. Click Add MCP Server
  4. 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:

  1. Add FIFTYC_API_KEY to Replit Secrets
  2. In your .replit file 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_searchSearch the internetFREE
page_fetchFetch and extract content from URLFREE
domain_checkCheck domain availabilityFREE
check_balanceCheck your credit balanceFREE
vault_statusCheck vault statusFREE
vault_initInitialize vault with passphraseFREE
vault_unlockUnlock vault for sessionFREE
vault_lockLock vault immediatelyFREE
vault_yoloStay unlocked until lock/rebootFREE
vault_addAdd credential to vaultFREE
vault_getGet credential from vaultFREE
vault_listList credentials in vaultFREE
vault_deleteDelete credential from vaultFREE
vault_add_proxiesStore proxy list in vaultFREE
vault_get_proxyGet proxy from stored listFREE
vault_list_proxiesList stored proxy listsFREE
dewey_addAdd item to Dewey indexFREE
dewey_getGet full details of indexed itemFREE
dewey_searchSearch your Dewey indexFREE
dewey_listList items with filtersFREE
dewey_updateUpdate indexed itemFREE
dewey_deleteRemove item from indexFREE
dewey_statsGet stats on your indexFREE
roadmap_addAdd idea to roadmapFREE
roadmap_listList roadmap ideasFREE
roadmap_updateUpdate roadmap itemFREE
roadmap_deleteDelete roadmap itemFREE
cf_list_zonesList Cloudflare zonesFREE
cf_get_zoneGet zone detailsFREE
cf_find_zoneFind zone ID by domainFREE
cf_list_dnsList DNS recordsFREE
cf_ssl_statusGet SSL statusFREE
cf_dev_modeToggle dev modeFREE
cf_under_attackToggle Under Attack modeFREE
50c_discoverDiscover available packsFREE
50c_enable_packEnable a packFREE
50c_disable_packDisable a packFREE
50c_packsList packs statusFREE
learning_statsView AI learning progressFREE

View all free tools →

STARTER $29/mo Starter Tier - Paid AI Tools

1,000 credits/month. All Free tools plus:

Tool Description Cost
hints5 brutal hints, 2 words each$0.05
hints_plus10 brutal hints, 4 words each$0.10
roastBrutal code review - 3 flaws + fixes$0.05
quick_vibe3 unconventional ideas$0.05
one_linerElevator pitch in 8 words$0.02
name_it5 names + domain availability$0.03
price_itSaaS pricing strategy$0.05
computeExecute Python code (sandbox)$0.02
ide_conversationMulti-turn IDE chat$0.20

View all Starter tools →

PRO $99/mo Pro Tier - Advanced AI

10,000 credits/month. All Starter tools plus:

Tool Description Cost
geniusDeep problem solving with research$0.50
mind_opener5 curious angles before solving$0.08
idea_foldTest claims with Feynman rigor$0.10
agent_autopsyDiagnose why AI agent failed$0.10
prompt_fortressStress-test prompt security$0.20
context_healthToken zone, density analysis$0.05
context_compressExtract and compress context$0.08
context_extractExtract decisions/entities$0.05
context_repositionReorder for attention optimization$0.05
bcalcMathematical discovery engine$0.15
bcalc_whyDeep math explanation$0.20
conversation_diagnosticDetect loops, drift, hallucination$0.15
handoffGenerate handoff document$0.10

View all Pro tools →

ENTERPRISE $499/mo Enterprise Tier - S-Tier AI

100,000 credits/month. All Pro tools plus:

Tool Description Cost
genius_plusSelf-improving code gen, learns from errors$0.65
discovery_collisionSystematic tool combination engine$0.25
cvi_loopConstraint-Verified Intelligence loop$0.30
cvi_verifyVerify output against constraints$0.10
chaos_fingerprintNumber DNA clustering$0.15
resonanceDivisor/digit-sum resonance$0.10
prime_residueOpen conjecture testing$0.15
echo_sequenceNovel sequence analysis$0.10

WHM/cPanel Pack (Enterprise Only)

whm_list_accountsList cPanel accountsFREE
whm_create_accountCreate cPanel account5 cr
whm_suspend_accountSuspend account2 cr
whm_autossl_runRun AutoSSL3 cr
cp_create_emailCreate email account2 cr
ssh_execExecute SSH command3 cr

View all Enterprise tools →

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 installAuto-configure MCP for detected IDEs
50c statusCheck hub connectivity and status
50c balanceCheck credit balance
50c packsList enabled/available packs
50c add <pack>Enable a pack
50c remove <pack>Disable a pack
50c config key <key>Set API key
50c config showShow 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

Need more credits? Top-up anytime →

Ready to build with AI tools?