Building AI Systems
November 25, 2026•5 min read

FreeLLMAPI Setup Guide: Connect Claude Code, Codex, Cline & OpenCode to http://127.0.0.1:31415

Complete CLI reference for npx freellmapi setup-claude, setup-codex, setup-cline, setup-opencode, and local private AI workflows.

AIStoreHub
AIStoreHub
Open AI Registry & Developer Platform
Executive Blueprint & Summary (BLUF)

Use FreeLLMAPI (hosted on port 31415) as an OpenAI/Anthropic-compatible local router for Claude Code, OpenAI Codex CLI, Cline, Hermes, and OpenCode. Verify your endpoint with 'curl http://127.0.0.1:31415/v1/models' before running 'npx freellmapi setup-claude --url http://127.0.0.1:31415'.

1-Click Install via AIStoreHub CLI
$ aihub mcp install community/postgres-mcp --client cursor
Requires: pip install aistorehubCLI Docs

1. Verify Local Gateway Endpoint on Port 31415

Before wiring coding agents to FreeLLMAPI, verify that your local proxy server is listening on 127.0.0.1:31415 and returning active model IDs:

bash
curl http://127.0.0.1:31415/v1/models

If the JSON payload returns your configured providers or local weights, you are ready to auto-configure your terminal agents in one command.

2. One-Line Client Setup (Claude, Codex, Cline, OpenCode)

Run the target subcommand for whichever coding agent you use:

bash
# Configure Claude Code
npx freellmapi setup-claude --url http://127.0.0.1:31415

# Configure OpenAI Codex CLI
npx freellmapi setup-codex --url http://127.0.0.1:31415

# Configure Cline VS Code Extension
npx freellmapi setup-cline --url http://127.0.0.1:31415

# Configure OpenCode CLI
npx freellmapi setup-opencode --url http://127.0.0.1:31415

# Configure Hermes Agent
npx freellmapi setup-hermes --url http://127.0.0.1:31415

You can also inspect the full package directives and pull updates directly from FreeLLMAPI on AIStoreHub using aihub pull @community/catalog/freellmapi.

3. Local Private AI & Open-Source Cluely Alternatives

Developers pairing local gateways with offline desktop assistants often combine FreeLLMAPI with:

  • Locally Uncensored: Privacy-first local model agent runtime with zero cloud telemetry.
  • OpenCluely: Open-source real-time screen and meeting assistant alternative to proprietary overlay apps.
  • OpenGhost & Unslop: Autonomous UI cleanup and frontend quality verification skills.
Interactive Registry Preview

Featured Systems in the AIStoreHub Registry

Verified packages installable directly via terminal into Cursor, Claude Desktop, and Python runtimes.

Browse all 143 systems
MCP Server
PostgreSQL & SQLite Inspector

Inspect schema, explain queries, and generate zero-downtime migrations in Cursor.

Autonomous Agent
Harvey 24/7 AI Sales Agent

Autonomous prospecting, cold emails, and meeting booking with zero API token bills.

Claude Skill
Day Trader Skills: 11 Claude Skills

Scan charts, calculate risk/reward brackets, and backtest setups via Claude Code.

Frequently Asked Questions

Essential clarifications for developers and engineering teams building and operating AI systems.

Start your FreeLLMAPI gateway, verify it with 'curl http://127.0.0.1:31415/v1/models', and run 'npx freellmapi setup-claude --url http://127.0.0.1:31415'.
AIStoreHub
Written by AIStoreHub
Open AI Registry & Developer Platform

AIStoreHub is the open registry and 1-click CLI for discovering, running, and installing production-grade AI systems, Model Context Protocol (MCP) servers, and autonomous agents.

Topics:#FreeLLMAPI#Local LLM#Claude Code#Codex CLI#Cline#OpenCode

Related Engineering Guides

Continue learning how to build, monetize, and operate AI systems effectively.