Skip to main content

Local Claude Code for Mac

Project description

mlx-code

Link

Quick Start

brew install --cask claude-code
pip install mlx-code
mlx-code

Options

mlx-code [options] [-- claude options]
Flag Default Description
--model mlx-community/Qwen3.5-4B-OptiQ-4bit MLX model to load
--port 8000 Server port
--host 127.0.0.1 Server host
--cache cache/cache.safetensors Prompt cache file (saved/loaded across runs)
--system None System prompt override. Use {env} to inject working directory info
--names Read Edit Write Grep Glob Bash Agent Skill Tool names to pass through to the model
--skips suggestion-mode block Regex patterns to strip from message content
--work $CWD Working directory mirrored into the Claude session
--home temp dir Home directory for the Claude process

Any extra arguments after -- are forwarded to the claude CLI:

Command What it does Example
mlx-code Start interactive mode mlx-code
mlx-code "task" Run a one-time task mlx-code "fix the build error"
mlx-code -p "query" Run one-off query, then exit mlx-code -p "explain this function"
mlx-code -c Continue most recent conversation in current directory mlx-code -c
mlx-code -r Resume a previous conversation mlx-code -r
mlx-code commit Create a Git commit mlx-code commit
/clear Clear conversation history /clear
/help Show available commands /help
exit or Ctrl+C Exit Claude Code exit

Licence

Apache License 2.0 — see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlx_code-0.0.2a1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlx_code-0.0.2a1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file mlx_code-0.0.2a1.tar.gz.

File metadata

  • Download URL: mlx_code-0.0.2a1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for mlx_code-0.0.2a1.tar.gz
Algorithm Hash digest
SHA256 40e73a6682b251d5e0feb0b818d8fdfd1e4f785aefbc0b10976e203077b0cc1d
MD5 ab2b12f2dd1bac6e0c97533d330d33ac
BLAKE2b-256 f29934233925e8b0835789a58c6d7b125806ade56bdc4c14274c9698e140d3fb

See more details on using hashes here.

File details

Details for the file mlx_code-0.0.2a1-py3-none-any.whl.

File metadata

  • Download URL: mlx_code-0.0.2a1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for mlx_code-0.0.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4223a4820b3de5b77758c2067a448cbba9b53863906ec7f6fef29243f7adbb95
MD5 41389927af0d9f01b4827d5c24a9b7c8
BLAKE2b-256 fb8ee4fca31880253cafebee68118f2f7781ad617f919e6e231089c1866de961

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page