Command Line Interface (CLI)
⚠️ Note: Midown is currently in Early Access and under active development

Codebase Visualization
Let AI Understand, with lesser tokens.

Map your entire codebase into a structured node graph, visualize the architecture locally, and expose it via MCP to any AI coding assistant — keeping your prompt context hyper-efficient.

midown-cli
~ npm install -g midown
added 42 packages in 2s
~/my-project midown add .
📁 Target context layer attached to mapping scope: /Users/dev/my-project
~/my-project midown push
🛡️ Verifying engine cloud access permissions... Verified!
↳ Processing src/index.ts
↳ Processing src/components/App.tsx
✅ Indexed 42 files into the semantic graph cache.
~/my-project midown start
🔄 Launching headless Midown MCP process loop targeting: /Users/dev/my-project
[MCP] Server listening on stdio...
Built for developers

Visualize Your System.
Let AI Understand.

Codebase Indexing

Midown's CLI processes your workspace and natively indexes directory node-edges via AST and Semantic Summaries. Map your entire repository into an optimized graph structure instantly.

  • Deep semantic code parsing into AST nodes
  • Automatic structural map generation via 'midown push'
  • Hyper-compressed contexts stored locally for AI lookup
Terminal
~/project midown push
🛡️ Verifying engine cloud access permissions... Verified!
↳ Processing src/index.ts
↳ Processing src/components/App.tsx
↳ Processing src/utils/api.ts
↳ Processing src/storage/db.ts
✅ Indexed 142 files into the semantic graph cache.
Graph optimized: 2.4MB → 45KB for AI Context.

Local MCP Server

Start the background MCP server and expose your codebase structure directly to VS Code, Cursor, or Claude Desktop. It runs 100% locally on your machine—we never see or collect your data. The AI can surgically query dependencies instead of wasting tokens scanning your entire repo.

  • Local-only Model Context Protocol (MCP) integration
  • Zero data collection — your code stays on your machine
  • Works with free and open-source models via your IDE
MCP Integration
IDE
Cursor / VS Code
MCP Protocol
midown start
AI
Midown Engine
Available Tools
get_codebase_graphMap
query_file_dependenciesSurgical

Interactive Web Visualizer

Want to see what the AI sees? Run 'midown visualize' to launch a local web app that renders your system's topological node network. Navigate your complex architectures visually.

  • Web-based topological node network visualization
  • See how components and files connect locally
  • Understand your system's implicit relationships
localhost:3000
src/index.tsauthflowapispecdb
Node Details
Viewing connections for src/index.ts
auth/index.ts3
api/routes.ts5
db/client.ts2
7 connected nodes
Simple pricing

Choose your plan

Start completely free during early access.

100% Free

Early Access

Join the beta completely free

Free
  • Unlimited markdown files
  • Flowchart architecture editor
  • Workspace management
  • MCP integration (all editors)
  • Use any AI model natively
  • All premium features included
Download Now

No credit card required. Paid plans will be introduced upon v1.0 release.

Ready to architect?

Install Midown CLI

Index and visualize codebase architectures directly from your terminal with our lightweight global command line interface.

$
npm i -g @bentlyr/midown
Then run midown start in any project directory to launch.

Free to try · Completely local storage · Works offline