npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2026 โ€“ย Pkg Stats / Ryan Hefner

mlxmate

v1.3.6

Published

๐Ÿค– Your MLX-powered coding companion for Mac - AI assistant with Mistral

Readme

MLXMate ๐Ÿค–

Your MLX-powered coding companion for Mac

A terminal-based AI coding assistant that runs locally on Apple Silicon using MLX and Mistral. No API keys, no cloud dependencies - just pure local AI power.

โœจ Features

  • ๐Ÿค– Local AI: Runs completely on your Mac using Apple's MLX framework
  • ๐Ÿš€ Apple Silicon Optimized: Native performance on M1/M2/M3 chips
  • ๐Ÿ” Agentic Search: Understands your entire codebase automatically
  • ๐Ÿ’ป Interactive Chat: Continuous conversation with your AI assistant
  • ๐ŸŽฏ Code Generation: Generate, review, and refactor code
  • ๐Ÿ”ง Smart Analysis: Analyze files and suggest improvements
  • ๐Ÿ“ฆ One-Command Install: Simple npm installation

๐Ÿš€ Quick Start

Installation

# Install MLXMate (automatically installs Python dependencies)
npm install -g mlxmate

The installation script will automatically:

  • Install all Python dependencies (MLX, Mistral, etc.) using pip
  • Test the installation to ensure everything works
  • Work with any Python 3.8+ installation

Usage

# Start interactive chat
mlxmate

# Or use the short alias
mate

# Show all commands
mlxmate help

๐Ÿ“‹ Commands

| Command | Description | |---------|-------------| | mlxmate | Start interactive chat | | mlxmate interactive | Interactive mode | | mlxmate test | Test MLX integration | | mlxmate setup | Initial setup | | mlxmate search <query> | Search codebase | | mlxmate analyze <file> | Analyze a file | | mlxmate generate <prompt> | Generate code | | mlxmate review <file> | Review code | | mlxmate refactor <file> | Refactor code |

๐ŸŽฏ Example Usage

Interactive Chat

$ mlxmate
๐Ÿค– Loading MLX model...
โœ… Model loaded successfully!
๐Ÿ” Building codebase index...
โœ… Indexed 20 files

You: What is this project about?
๐Ÿค– Thinking...

โ•ญโ”€ MLX Assistant โ”€โ•ฎ
โ”‚ Based on the codebase analysis, this appears to be a Python web application... โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

You: Generate a function to parse JSON data
๐Ÿค– Thinking...

โ•ญโ”€ MLX Assistant โ”€โ•ฎ
โ”‚ Here's a robust JSON parsing function:                    โ”‚
โ”‚                                                          โ”‚
โ”‚ def parse_json_data(json_string):                        โ”‚
โ”‚     try:                                                 โ”‚
โ”‚         return json.loads(json_string)                   โ”‚
โ”‚     except json.JSONDecodeError as e:                    โ”‚
โ”‚         raise ValueError(f"Invalid JSON: {e}")           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Code Generation

mlxmate generate "Create a Python function to calculate fibonacci numbers"

Code Review

mlxmate review myfile.py

๐Ÿ”ง Requirements

  • macOS with Apple Silicon (M1/M2/M3)
  • Python 3.8+
  • Node.js 14+ (for npm installation)

๐Ÿ“ฆ What's Included

  • MLX Framework: Apple's machine learning framework
  • Mistral Model: High-quality 7B parameter model
  • Codebase Analyzer: Intelligent code understanding
  • Rich Terminal UI: Beautiful, responsive interface
  • Agentic Search: Semantic codebase search

๐ŸŽ‰ Why MLXMate?

  • ๐Ÿ”’ Privacy: Everything runs locally on your machine
  • โšก Speed: Native Apple Silicon performance
  • ๐Ÿ’ฐ Free: No API costs or subscriptions
  • ๐ŸŽฏ Accurate: Context-aware responses about your codebase
  • ๐Ÿ› ๏ธ Powerful: Full coding assistant capabilities

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

MIT License - see LICENSE file for details.


Made with โค๏ธ for Mac developers