HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
knowsuchagency
mcp2cli
Python2026–2026
knowsuchagency / mcp2cli

mcp2cli

Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen

3Distinct people
3Mentions
0Explicit recommenders
2.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval3 dated mentions

Observed mentions: 2026-03-09 05:18:46 UTC to 2026-03-16 15:54:16 UTC.

012026-03-09 00:00:00 UTC to 2026-03-09 06:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMar 9, 00:002026-03-09 06:00:00 UTC to 2026-03-09 12:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-03-09 12:00:00 UTC to 2026-03-09 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-09 18:00:00 UTC to 2026-03-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-10 00:00:00 UTC to 2026-03-10 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-10 06:00:00 UTC to 2026-03-10 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-10 12:00:00 UTC to 2026-03-10 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-10 18:00:00 UTC to 2026-03-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-11 00:00:00 UTC to 2026-03-11 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-11 06:00:00 UTC to 2026-03-11 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-11 12:00:00 UTC to 2026-03-11 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-11 18:00:00 UTC to 2026-03-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-12 00:00:00 UTC to 2026-03-12 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-12 06:00:00 UTC to 2026-03-12 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-12 12:00:00 UTC to 2026-03-12 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-12 18:00:00 UTC to 2026-03-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 12, 18:002026-03-13 00:00:00 UTC to 2026-03-13 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-13 06:00:00 UTC to 2026-03-13 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-13 12:00:00 UTC to 2026-03-13 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-13 18:00:00 UTC to 2026-03-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-14 00:00:00 UTC to 2026-03-14 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-14 06:00:00 UTC to 2026-03-14 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-14 12:00:00 UTC to 2026-03-14 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-14 18:00:00 UTC to 2026-03-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-15 00:00:00 UTC to 2026-03-15 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-15 06:00:00 UTC to 2026-03-15 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-15 12:00:00 UTC to 2026-03-15 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-15 18:00:00 UTC to 2026-03-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-16 00:00:00 UTC to 2026-03-16 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-16 06:00:00 UTC to 2026-03-16 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-16 12:00:00 UTC to 2026-03-16 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 16, 12:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 9, 00:002026-03-09 00:00:00 UTC2026-03-09 06:00:00 UTC110
Mar 9, 06:002026-03-09 06:00:00 UTC2026-03-09 12:00:00 UTC101
Mar 9, 12:002026-03-09 12:00:00 UTC2026-03-09 18:00:00 UTC000
Mar 9, 18:002026-03-09 18:00:00 UTC2026-03-10 00:00:00 UTC000
Mar 10, 00:002026-03-10 00:00:00 UTC2026-03-10 06:00:00 UTC000
Mar 10, 06:002026-03-10 06:00:00 UTC2026-03-10 12:00:00 UTC000
Mar 10, 12:002026-03-10 12:00:00 UTC2026-03-10 18:00:00 UTC000
Mar 10, 18:002026-03-10 18:00:00 UTC2026-03-11 00:00:00 UTC000
Mar 11, 00:002026-03-11 00:00:00 UTC2026-03-11 06:00:00 UTC000
Mar 11, 06:002026-03-11 06:00:00 UTC2026-03-11 12:00:00 UTC000
Mar 11, 12:002026-03-11 12:00:00 UTC2026-03-11 18:00:00 UTC000
Mar 11, 18:002026-03-11 18:00:00 UTC2026-03-12 00:00:00 UTC000
Mar 12, 00:002026-03-12 00:00:00 UTC2026-03-12 06:00:00 UTC000
Mar 12, 06:002026-03-12 06:00:00 UTC2026-03-12 12:00:00 UTC000
Mar 12, 12:002026-03-12 12:00:00 UTC2026-03-12 18:00:00 UTC000
Mar 12, 18:002026-03-12 18:00:00 UTC2026-03-13 00:00:00 UTC000
Mar 13, 00:002026-03-13 00:00:00 UTC2026-03-13 06:00:00 UTC000
Mar 13, 06:002026-03-13 06:00:00 UTC2026-03-13 12:00:00 UTC000
Mar 13, 12:002026-03-13 12:00:00 UTC2026-03-13 18:00:00 UTC000
Mar 13, 18:002026-03-13 18:00:00 UTC2026-03-14 00:00:00 UTC000
Mar 14, 00:002026-03-14 00:00:00 UTC2026-03-14 06:00:00 UTC000
Mar 14, 06:002026-03-14 06:00:00 UTC2026-03-14 12:00:00 UTC000
Mar 14, 12:002026-03-14 12:00:00 UTC2026-03-14 18:00:00 UTC000
Mar 14, 18:002026-03-14 18:00:00 UTC2026-03-15 00:00:00 UTC000
Mar 15, 00:002026-03-15 00:00:00 UTC2026-03-15 06:00:00 UTC000
Mar 15, 06:002026-03-15 06:00:00 UTC2026-03-15 12:00:00 UTC000
Mar 15, 12:002026-03-15 12:00:00 UTC2026-03-15 18:00:00 UTC000
Mar 15, 18:002026-03-15 18:00:00 UTC2026-03-16 00:00:00 UTC000
Mar 16, 00:002026-03-16 00:00:00 UTC2026-03-16 06:00:00 UTC000
Mar 16, 06:002026-03-16 06:00:00 UTC2026-03-16 12:00:00 UTC000
Mar 16, 12:002026-03-16 12:00:00 UTC2026-03-16 18:00:00 UTC101

What Hacker News says

3 sources
In Show HN: Mcp2cli – One CLI for every API, 96-99% fewer tokens than native MCP

Show HN: Mcp2cli – One CLI for every API, 96-99% fewer tokens than native MCP

Every MCP server injects its full tool schemas into context on every turn — 30 tools costs ~3,600 tokens/turn whether the model uses them or not. Over 25 turns with 120 tools, that's 362,000 tokens just for schemas. mcp2cli turns any MCP server or OpenAPI spec into a CLI at runtime. The LLM discovers tools on demand: mcp2cli --mcp https://mcp.example.com/sse --list # ~16 tokens/tool mcp2cli --mcp https://mcp.example.com/sse create-task --help # ~120 tokens, once mcp2cli --mcp https://mcp.example.com/sse create-task --title "Fix bug" No codegen, no rebuild when the server changes. Works with any LLM — it's just a CLI the model shells out to. Also handles OpenAPI specs (JSON/YAML, local or remote) with the same interface. Token savings are real, measured with cl100k_base: 96% for 30 tools over 15 turns, 99% for 120
Read the rest
tools over 25 turns. It also ships as an installable skill for AI coding agents (Claude Code, Cursor, Codex): `npx skills add knowsuchagency/mcp2cli --skill mcp2cli` Inspired by Kagan Yilmaz's CLI vs MCP analysis and CLIHub. https://github.com/knowsuchagency/mcp2cli
146 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.