Skip to main content

claude-ext

A thin wrapper around Claude Code that points it at alternative model backends (OpenRouter or a local Ollama server).

Install

uv tool install claude-ext

Usage

# OpenRouter
claudex "explain this repo" # CLAUDE_BACKEND=openrouter by default

# Ollama
CLAUDE_BACKEND=ollama claudex "explain this repo"

Any extra arguments you pass are forwarded straight to claude.

Configuration

Configuration is read from environment variables in $PWD/.env.

OpenRouter

Variable Required Default
OPENROUTER_API_KEY yes —
OPENROUTER_MODEL no claude default

Ollama

Variable Required Default
OLLAMA_API_KEY no ollama
OLLAMA_BASE_URL no http://localhost:11434
OLLAMA_MODEL no qwen3.6

Metadata

Release files for claude-ext 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-ext 0.1.3
File Size Uploaded Provenance Actions
claude_ext-0.1.3.tar.gz 2.3 kB Without provenance Details for claude_ext-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for claude-ext 0.1.3
File Interpreter ABI Platform Actions
claude_ext-0.1.3-py3-none-any.whl Python 3 none any Details for claude_ext-0.1.3-py3-none-any.whl

Total release size: 4.9 kB

Release files / claude_ext-0.1.3.tar.gz

Download URL claude_ext-0.1.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
594e629bf6a846fd86f55c31be04175e5d91ea617de2ce41ea6be60d02df5fa5
BLAKE2b-256 checksum
How to use checksums
60fa10848d0df0ce9867164d8c777f3c8e10c3772ddd98121139ef5f6e585e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / claude_ext-0.1.3-py3-none-any.whl

Download URL claude_ext-0.1.3-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71836ad4b6f7021368b5730ee09b1b8cd3fc0429f74ae974ea1c0c62420f099c
BLAKE2b-256 checksum
How to use checksums
a396dd549697a8625a5a10e0e60760e250bc66788e3790abee821971c4833b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for claude-ext 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page