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.2a0.tar.gz (10.9 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.2a0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlx_code-0.0.2a0.tar.gz
  • Upload date:
  • Size: 10.9 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.2a0.tar.gz
Algorithm Hash digest
SHA256 4d560f30ea689d69d0f079bb47111a515f475a6b295d708d0dd56e6a209629fe
MD5 a8d88df7a7e8f24afb3c2c429a587931
BLAKE2b-256 80550c3e8040a80f09aac4787a4663fb185850c27d681901c748b7fde13aaac0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlx_code-0.0.2a0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 573d7bbcd294b03e8ab3068503b42e742b7f6cf76a4c9d3c5adffcc838225ae6
MD5 a7006df39d3c3c79e086453666ece42a
BLAKE2b-256 64b98909904be5eceb7ebe25450439262614ff1133fc7c857c07c55b5116d056

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