Skip to main content

aurarouter-claude

Anthropic Claude provider for AuraRouter -- exposes Claude models as an MCP provider server.

Installation

pip install aurarouter-claude

Usage

As an MCP server (standalone)

python -m aurarouter_claude

With AuraRouter

Once installed, AuraRouter automatically discovers this package via the aurarouter.providers entry point. Configure it in auraconfig.yaml:

provider_catalog:
  manual:
    - name: claude
      endpoint: http://localhost:9100

Provider Metadata Discovery

The package exposes get_provider_metadata() returning typed ProviderMetadata when aurarouter is installed, or a plain dictionary fallback when introspected independently:

from aurarouter_claude import get_provider_metadata

metadata = get_provider_metadata()

Configuration

Set your Anthropic API key via environment variable:

export ANTHROPIC_API_KEY=sk-ant-...

Available Models

Model Context Window Input Cost Output Cost
Claude Opus 4 200k $15.00/1M $75.00/1M
Claude Sonnet 4 200k $3.00/1M $15.00/1M
Claude Haiku 4.5 200k $0.80/1M $4.00/1M

AuraRouter v2.1 Telemetry & Resilience

  • Cross-MCP RateLimit Envelopes: Parses and forwards Anthropic split request and token rate-limit headers (anthropic-ratelimit-requests-*, anthropic-ratelimit-tokens-*) to the central GCRA tracker.
  • Fault Isolation: Maps Anthropic HTTP 529 overloads and transient API errors to ProviderTransientError, triggering AuraRouter's circuit breakers without false-positive rate limit penalties.
  • Header Sanitization: Redacts sensitive authorization tokens from MCP trace telemetry.
  • Canary Suite: Includes @pytest.mark.live_vendor canaries with strict token caps (max_tokens=16) to verify live Anthropic platform readiness.

License

Apache-2.0

Metadata

Release files for aurarouter-claude 0.5.1

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

Source distribution (sdist)

Source distribution for aurarouter-claude 0.5.1
File Size Uploaded Provenance Actions
aurarouter_claude-0.5.1.tar.gz 16.1 kB With provenance Details for aurarouter_claude-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aurarouter-claude 0.5.1
File Interpreter ABI Platform Actions
aurarouter_claude-0.5.1-py3-none-any.whl Python 3 none any Details for aurarouter_claude-0.5.1-py3-none-any.whl

Total release size: 28.8 kB

Release files / aurarouter_claude-0.5.1.tar.gz

Download URL aurarouter_claude-0.5.1.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f1cae5a96fac0c7d6c5d9db397a9ea9546ddb4dc0177aaa27e92096cd4b66157
BLAKE2b-256 checksum
How to use checksums
0a47f50430674a71242587d5f422890ae400f22d63b5171f5ded1db195dbbe3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / aurarouter_claude-0.5.1-py3-none-any.whl

Download URL aurarouter_claude-0.5.1-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b5e77bc7aec6cff53dae00c6227f56780f678aac584009d02ba7e14452746a8
BLAKE2b-256 checksum
How to use checksums
e748271c46d02ac2cda04a08ba0438c8da9d42ca78eff6d0249fa8942b2b945c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for aurarouter-claude 0.5.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aurarouter_claude-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files Full provenance

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