MiMo-Code

MCP.Pizza Chef: XiaomiMiMo

This terminal-based coding assistant handles day-to-day development work — editing files, running commands, managing Git, and tracking a task list — while remembering your project from one session to the next. It comes with a free starter option that needs no setup, or you can sign in with your own account for a provider such as OpenAI, Anthropic's Claude, or Google's Gemini, and it can even import an existing Claude Code login. It runs from the command line, and its underlying models can also be added to editors like VS Code, Cursor, and Cline.

Coding

Use This MCP client To

Write and fix code for me from a plain description Run terminal commands and manage Git for my project Remember my project's history and decisions between sessions Explain a codebase I didn't write and don't understand Plan out a coding task before any changes are made Pick up a coding task right where I left off

README

MiMoCode

MiMoCode

MiMo Code: Where Models and Agents Co-Evolve

中文 | English

Website | Blog


MiMoCode is a terminal-native AI coding assistant. It can read and write code, run commands, manage Git, and use a persistent memory system to keep a deep understanding of your project across sessions while continuously improving itself.

MiMo Auto is built in as a free-for-limited-time channel, so you can start with zero configuration. MiMoCode also supports connecting to any mainstream LLM provider API.


Quick Start

# One-line install (macOS / Linux)
curl -fsSL https://mimo.xiaomi.com/install | bash

# One-line install (Windows PowerShell)
powershell -ep Bypass -c "irm https://mimo.xiaomi.com/install.ps1 | iex"

# Or install via npm (all platforms)
npm install -g @mimo-ai/cli

# Run
mimo

The first launch guides you through configuration automatically. Supported options:

  • MiMo Auto (free for a limited time) — anonymous channel, zero configuration
  • Xiaomi MiMo Platform — OAuth login
  • Codex (ChatGPT Pro/Plus) — OpenAI OAuth login
  • Import from Claude Code — migrate existing authentication in one step
  • Provider list — connect catalog providers by API key, or OAuth where supported (e.g. xAI/Grok)
  • Custom Provider — add any OpenAI-compatible API in the TUI
WSL: clipboard issues

If you encounter garbled text when copying on WSL, install xsel:

sudo apt install xsel
Windows: garbled CJK (Chinese/Japanese/Korean) output in the shell

On Windows with a non-UTF-8 system locale (e.g. zh-CN, whose active code page is 936/GBK), command output containing CJK characters may appear garbled (mojibake). MiMoCode forces UTF-8 output for spawned PowerShell/cmd subprocesses. If you still encounter garbled output in cases this does not yet cover, enable Windows' system-wide UTF-8 support:

Settings → Time & language → Language & region → Administrative language settings → Change system locale → check "Beta: Use Unicode UTF-8 for worldwide language support" → reboot.

This switches the active code page (ACP) to UTF-8 (65001) for all programs, so subprocesses no longer inherit the legacy code page. Note it is a system-wide Beta toggle and may cause some older non-Unicode programs to display incorrectly, so treat it as a workaround.


MiMo Ecosystem

Beyond MiMoCode, Xiaomi MiMo models also work in other agents and coding tools like Cursor, Cline, and Zed.

awesome-mimo-agent collects setup guides for using MiMo in those tools — worth a look if you want to try MiMo elsewhere. Contributions welcome: open a PR to add your own setup.


MiMo-Code FAQ

Do I need an account or a key from another service to use this?
No — you can start for free with the built-in MiMo Auto option and no setup at all. If you would rather use a different provider, you can sign in with your own account for a service like OpenAI, Anthropic's Claude, or Google's Gemini.
Which apps does this work with?
MiMoCode runs on its own in your terminal as a standalone coding assistant. Its underlying models can also be added to other tools you may already use, such as Cursor, VS Code, and Cline.
Can I use this to fix bugs in my code?
Yes — describe the problem in plain language and it can look through the relevant files, make the fix, and run your project to check that the fix works.
Can I use this to understand a codebase I didn't write?
Yes — it can read through an unfamiliar project and explain what the code does and how the pieces fit together.
Is this hard to set up?
It takes some comfort with the command line, since you install it with a single terminal command and run it from there, but the first launch walks you through every choice step by step.
Will it remember what we worked on before?
Yes — it keeps notes on your project and recent tasks, so when you come back it already knows the context instead of starting over.
Do I need to know how to write code myself to use this?
Not really — some comfort with opening and typing into a terminal helps, but you can describe what you want in plain language and let it write and run the code for you.
Can I bring over an account I already use?
Yes — if you already use Claude Code, you can import that existing sign-in in one step instead of setting up a new account.