Skip to content

Feature: Claude CLI support #1

Description

@xdearboy

Feature: Claude CLI support

It would be great to add support for using Claude CLI / Claude Code authentication as an AI provider, similar to the existing Codex CLI authentication support.

Currently, Mapr supports OpenAI/OpenAI-compatible providers and has a dedicated codex-cli authentication mode. It would be useful to have an equivalent option for users who already have Claude Code configured locally.

Proposed behavior

Add a provider/authentication option such as:

Provider: Anthropic
Authentication:
  - API key
  - Claude CLI

When Claude CLI is selected, Mapr could reuse the user's existing Claude Code authentication/session rather than requiring a separate Anthropic API key.

For example:

npx @redstone-md/mapr \
  --headless \
  --provider-type anthropic \
  --auth-method claude-cli

The exact CLI/API implementation can be chosen based on what is most appropriate for Claude Code.

Why this would be useful

  • Users who already use Claude Code wouldn't need to configure another API key.
  • It would make Claude a first-class provider alongside the existing Codex CLI integration.
  • It would be especially useful for local development and interactive usage.
  • It would provide a consistent authentication experience between OpenAI/Codex and Anthropic/Claude.

Additional consideration

Ideally, Claude CLI support should integrate with Mapr's existing provider/model selection and streaming pipeline rather than introducing a completely separate analysis path.

I would be happy to test the implementation once available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions