# Proxima

> A local desktop gateway that exposes ChatGPT, Claude, Gemini and Perplexity to your coding tools over MCP and an OpenAI-style REST API

- Category: Evaluation & Production Ops / Gateways & Routing
- Language: JavaScript
- Licence: Proxima Personal Use License (personal, non-commercial use only; commercial licensing by request)
- Repository: https://github.com/Zen4-bit/Proxima
- Website: https://www.proximamcp.in/
- Canonical page: https://ai-tldr.dev/tools/proxima/

## In short

Proxima is an Electron desktop app that runs a local gateway on 127.0.0.1 and puts several AI providers behind it. It sits in the Gateways & Routing category of the Evaluation & Production Ops tools and is open-source, written in JavaScript and licensed Proxima Personal Use License (personal, non-commercial use only; commercial licensing by request).

## Overview

Proxima is an Electron desktop app that runs a local gateway on 127.0.0.1 and puts several AI providers behind it. Coding clients such as Cursor, VS Code, Windsurf and Claude Desktop talk to its MCP server over stdio; scripts and SDKs talk to an OpenAI-compatible REST API and a WebSocket on port 3210. Behind that single local endpoint, a central message bus hands each request to one of two routing engines.

The default engine is Session Routing. Proxima opens ChatGPT, Claude, Gemini and Perplexity in sandboxed background browser views; you log into each one with your own web account, and Proxima sends prompts through those logged-in sessions and captures the streamed replies. No API key is involved and, per the README, no passwords are saved. The README is also explicit that this automates your existing browser sessions and "may technically fall outside some providers' standard ToS for programmatic access", and it recommends BYOK mode for production or commercial use.

The second engine is BYOK (bring your own key): official API keys for OpenAI, Anthropic, Google, DeepSeek, Groq, xAI, OpenRouter, Together, Fireworks, Mistral and NVIDIA, stored in the operating system's keychain through Electron's SafeStorage, or local OpenAI-compatible endpoints such as Ollama and LM Studio for fully offline use. In BYOK mode Proxima also manages the message payload itself, compacting older turns to stay inside provider context limits.

On top of the routing layer the MCP server registers dozens of tools — per-provider `ask_*` calls, `ask_all_ais`, a `smart_query` that can cross-verify or make models debate, code review and fix tools, typed web search and a `crew` multi-model collaboration tool. The repository also ships Proxima Agent, a local Python assistant that edits code, runs tests and drives Chrome through the same gateway, gated by Full Auto, Smart and Suggest permission modes. The code is published on GitHub under the Proxima Personal Use License, which allows personal, non-commercial use only.

## What it does

- Session Routing through your own logged-in ChatGPT, Claude, Gemini and Perplexity web accounts inside sandboxed background browser views — no API key required
- BYOK routing to OpenAI, Anthropic, Google, DeepSeek, Groq, xAI, OpenRouter, Together, Fireworks, Mistral and NVIDIA, with keys kept in the OS keychain, plus Ollama and LM Studio for offline local models
- MCP server for Cursor, VS Code, Windsurf and Claude Desktop with per-provider `ask_*` tools, `ask_all_ais`, consensus and debate modes via `smart_query`, code, search and multi-model `crew` tools
- OpenAI-compatible REST API (`/v1/chat/completions`, `/v1/models`) and WebSocket streaming on localhost:3210, plus a `proxima` CLI and small Python and JavaScript SDKs
- Proxima Agent: a local Python assistant that edits code, runs test suites and drives Chrome over CDP, with Full Auto, Smart and Suggest permission modes
- Local-first: MCP/IPC and REST/WebSocket ports bind to 127.0.0.1, and four SQLite stores under `~/.proxima-agent/` keep conversation, insight, error-fix and skill memory across sessions

## Getting started

Proxima needs Node.js 18+ to run the app and MCP server, and Python 3.10+ only if you want Proxima Agent. These steps follow the README's quick start; on Windows you can instead run the `Proxima-Setup` .exe installer attached to each GitHub release.

1. Clone and start the desktop app

   Install dependencies and launch the Electron app from the repository.

```bash
git clone https://github.com/Zen4-bit/Proxima.git
cd Proxima
npm install
npm start
```

2. Pick a routing mode

   For Session mode, log into ChatGPT, Claude, Gemini or Perplexity in their tabs inside the app window. For BYOK mode, open Settings and paste your API keys or the address of a local Ollama / LM Studio server.

3. Register the MCP server in your editor

   Add this block to your editor's MCP configuration (in Cursor: Settings → Features → MCP), pointing at the absolute path of your clone. The app's Settings → MCP Configuration tab shows the exact block with your machine's paths filled in.

```json
{
  "mcpServers": {
    "proxima": {
      "command": "node",
      "args": [
        "C:/absolute/path/to/Proxima/src/mcp/index.js"
      ]
    }
  }
}
```

4. Call it over the REST API

   Any OpenAI-style client can also use the local gateway. `model` accepts `auto`, a provider name such as `claude` or `gemini`, a sub-engine like `gemini:pro`, or a list of providers.

```bash
curl http://localhost:3210/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini",
    "message": "Analyze this architectural trade-off",
    "thinking_level": "high"
  }'
```

5. Use the CLI

   Install it from Settings → Install CLI to PATH (or `npm link`), then query providers or pipe build errors straight in.

```bash
proxima ask claude "Explain React hooks"
npm run build 2>&1 | proxima fix
proxima debate "tabs vs spaces"
```

## When to use it

- Let an MCP-capable editor ask ChatGPT, Claude, Gemini or Perplexity for a second opinion using web accounts you already have, for personal projects
- Send one prompt to several models at once and compare, cross-verify or have them debate the answer
- Put cloud API keys and local Ollama or LM Studio models behind one OpenAI-compatible endpoint on your own machine
- Run a local coding agent that edits files, runs tests and checks UI flows in Chrome, with approval gates before it writes or executes
