Skip to content

Installation

REST API

No installation required. Use curl or any HTTP client.

Terminal window
curl -X POST https://api.50c.ai/tools/genius \
-H "Authorization: Bearer cv_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"problem": "Your question here"}'

CLI

Install via npm:

Terminal window
npm install -g 50c
# or run directly
npx 50c call genius --input '{"problem": "Your question"}'

Configure your API key:

Terminal window
50c config set key cv_YOUR_KEY

MCP Server

For Cursor, Claude Desktop, or Windsurf:

Cursor

  1. Open Settings → Features → Model Context Protocol
  2. Add server:
    {
    "50c": {
    "command": "npx",
    "args": ["-y", "50c"],
    "env": {
    "FIFTYC_API_KEY": "cv_YOUR_KEY"
    }
    }
    }

Claude Desktop

  1. Open Settings → Developer → Edit Config
  2. Add to claude_desktop_config.json:
    {
    "mcpServers": {
    "50c": {
    "command": "npx",
    "args": ["-y", "50c"],
    "env": {
    "FIFTYC_API_KEY": "cv_YOUR_KEY"
    }
    }
    }
    }

Python SDK

Terminal window
pip install fiftyc
from fiftyc import FiftyC
client = FiftyC(api_key="cv_YOUR_KEY")
result = client.genius("What is 2+2?")
print(result)