CLI-use
turn any MCP server into a CLI in one command
Details
- External ID
- 47854957
- Source
- HN
- Company
- —
- Product
- —
- Website domain
- —
- Launched
- April 21, 2026
- Cohort
- —
- Upvotes
- 7
- Upvotes percentile
- 0.38817480719794345
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hi everyone,I built cli-use, a small Python tool that turns any MCP server into a native CLI.The idea is simple: HTTP has curl, Docker has docker, Kubernetes has kubectl — MCP should have a shell-native client too.Why I made it:MCP is useful, but using it through agents has overhead:every session pays schema discovery cost every call carries JSON-RPC framing responses are often verbose JSON when the useful output is just a line or twocli-use converts that into a terse CLI so tools can be called like normal shell commands.Example:pip install cli-use cli-use add fs /tmp cli-use fs list_directory --path /tmpAfter that, the MCP server behaves like a regular CLI:usable by agents usable by humans usable from scripts / subprocess.run composable with grep, head, xargs, etc.Example:cli-use fs search_files --path /tmp --pattern "*.md" | head cli-use fs read_text_file --path /tmp/notes.md | grep TODOOne thing I cared about a lot is agent ergonomics.Every add also emits a SKILL.md plus an AGENTS.md pointer, so agents working in a repo can discover and use the CLI automatically.A few details:pure Python stdlib zero runtime deps persistent aliases works with npm, pip, pipx, and local MCP servers built-in registry for common MCP serversI also benchmarked it against the real @modelcontextprotocol/server-filesystem server (14 tools). Depending on session size, token savings were around 60–80%, mostly by removing schema overhead and verbose request / response framing.It’s still alpha, but already usable.Repo: https://github.com/JustVugg/cli-use
Enrichment
- Theme
- Model Context Protocol developer tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- convert mcp server to cli
- Manually corrected
- False
Could you build this?
Yes It is a lightweight Python CLI utility that connects to MCP servers via JSON-RPC and dynamically translates exposed tools into CLI subcommands.
Discussion
1 comment analyzed.
Competitors mentioned: mcp2cli, mcporter
Concerns raised: unclear differentiation from existing alternatives
Competitors
Other products that read as similar to this one — 234 launches clear the similarity bar, closest 8 shown.
Attention rank: #152 of 235 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 173 days after the earliest competitor.
- Mcp2cli · hn · 2026-03-09 · 146 upvotes · similarity 0.62
- I built a tool that turns any API into a CLI for agents · hn · 2026-03-01 · 6 upvotes · similarity 0.58
- Model Tools Protocol (MTP) · hn · 2026-02-10 · 9 upvotes · similarity 0.55
- Murl · hn · 2026-02-21 · 5 upvotes · similarity 0.52
- Clify · hn · 2026-04-07 · 5 upvotes · similarity 0.51
- CLIs Are All You Need for Agents · hn · 2026-01-09 · 5 upvotes · similarity 0.51
- Awsmux · hn · 2026-07-25 · 10 upvotes · similarity 0.50
- Universal CLI by Composio · ph · 2026-03-27 · 158 upvotes · similarity 0.50
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.