frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Grok-CLI-MCP – MCP server wrapping Grok CLI (alternative to direct API)

https://github.com/BasisSetVentures/grok-cli-mcp
1•changxu•1h ago
I built an MCP (Model Context Protocol) server that wraps the Grok CLI instead of calling the API directly. It provides three tools for Claude Code and other MCP clients: simple queries, multi-turn chat, and code generation. This allows me to use Grok models in Claude Code.

Why wrap the CLI instead of using the API?

The CLI wrapper approach has some interesting benefits:

  • Future-proof: When xAI adds OAuth to the CLI, this gets it automatically without code changes

  • Pricing flexibility: If xAI introduces fixed monthly pricing for CLI usage (like OpenAI's $20/month for Codex), you benefit immediately rather than paying per token

  • Simpler maintenance: ~400 lines vs 1500+ for a full API client. No tracking API versioning or breaking changes.

  • Org-friendly: Some teams prefer audited CLI tools over API libraries for security/compliance
Honest tradeoffs:

  • Performance overhead: ~50-200ms extra latency from process spawning

  • CLI dependency: Requires Grok CLI installed

  • Limited control: Can't access features not exposed by CLI
The sweet spot is development tools, prototyping, and internal automation where convenience matters more than milliseconds. For high-throughput production (>1000 req/min), direct API makes more sense.

Built with FastMCP, fully open source (MIT), and published to PyPI.

GitHub: https://github.com/BasisSetVentures/grok-cli-mcp

Curious to hear if others have taken similar "wrapper over direct integration" approaches for other AI CLIs.

AIbraham Lincoln, the First AI Presidential Candidate

https://www.voteabe2028.ai/
1•beAbU•36s ago•1 comments

Is It a Bubble? By Howard Marks

https://www.oaktreecapital.com/insights/memo/is-it-a-bubble
1•saigrandhi•1m ago•0 comments

Testing and Benchmarking of AI Compilers

https://www.broune.com/blog/testing-and-benchmarking-of-ai-compilers
1•chubot•2m ago•0 comments

Prevention of PTSD Symptoms in Soldiers Using Attention Bias Modification

https://psychiatryonline.org/doi/full/10.1176/appi.ajp.20250160
1•wslh•2m ago•0 comments

Device Activity Tracker: WhatsApp Activity Tracker via RTT Analysis

https://github.com/gommzystudio/device-activity-tracker
1•thunderbong•3m ago•0 comments

Using Git add -p for fun (and profit)

https://techne98.com/blog/using-git-add-p/
1•fixedprog•5m ago•0 comments

Show HN: MCPShark – Traffic Inspector for Model Context Protocol

3•mywork-dev•5m ago•0 comments

Microservices is the software industry's most successful confidence scam

https://twitter.com/dhh/status/1998785569468399819
3•dinvlad•7m ago•0 comments

HN Time Capsule

https://karpathy.ai/hncapsule/
1•__rito__•7m ago•1 comments

John Noble Wilford, Times Reporter Who Covered the Moon Landing, Dies at 92

https://www.nytimes.com/2025/12/08/science/john-noble-wilford-dead.html
1•digital55•8m ago•0 comments

Auto-grading decade-old Hacker News discussions with hindsight

https://karpathy.bearblog.dev/auto-grade-hn/
2•__rito__•8m ago•1 comments

Demonstrably Safe AI for Autonomous Driving

https://waymo.com/blog/2025/12/demonstrably-safe-ai-for-autonomous-driving
1•simonpure•8m ago•0 comments

Code-less vibe-"coding" – hallucinating apps one screen at a time

https://amongai.com/2025/12/10/hallucinate-any-app-one-screen-at-a-time/
2•danielmewes•10m ago•2 comments

New research shows RL may not help a model learn new basic skills

https://arxiv.org/abs/2512.07783
1•binsquare•11m ago•1 comments

Glyphosate safety article retracted 8 years after Monsanto ghostwriting revealed

https://retractionwatch.com/2025/12/04/glyphosate-safety-article-retracted-elsevier-monsanto-ghos...
4•robtherobber•11m ago•0 comments

Cube: Agentic Analytics Platform

https://cube.dev/
1•gk1•12m ago•0 comments

Valve: HDMI Forum Continues to Block HDMI 2.1 for Linux

https://www.heise.de/en/news/Valve-HDMI-Forum-Continues-to-Block-HDMI-2-1-for-Linux-11107440.html
8•OsrsNeedsf2P•12m ago•0 comments

Waymo: Delivering more for our riders in a year of growth

https://waymo.com/blog/2025/12/2025-year-in-review
2•hnburnsy•12m ago•0 comments

Star Types

https://science.nasa.gov/universe/stars/types/
2•belter•13m ago•0 comments

Show HN: TermKeeper – Track contracts, renewals, and notice periods with AI

https://termkeeper.com/
1•SNDRVH•14m ago•0 comments

Links for December 2025

https://www.astralcodexten.com/p/links-for-december-2025
1•feross•14m ago•0 comments

A woman who discovered black holes

https://newhumanist.org.uk/articles/6296/the-woman-who-discovered-black-holes
1•MaysonL•16m ago•0 comments

World Spider Catalog

https://wsc.nmbe.ch/
1•fi-le•17m ago•0 comments

Tourists required to give 5 years social media history to enter US

https://www.dailymail.co.uk/news/article-15369957/Trump-foreign-tourists-social-media-history.html
8•testing22321•17m ago•5 comments

Pg_ClickHouse: A Postgres extension for querying ClickHouse

https://clickhouse.com/blog/introducing-pg_clickhouse
1•spathak•17m ago•0 comments

Writing Leads to Thinking (and Not the Other Way Around)

https://www.historians.org/perspectives-article/how-writing-leads-to-thinking-february-2010/
1•bryanrasmussen•18m ago•0 comments

IDF Soldiers Fire on UN Peacekeepers

https://unifil.unmissions.org/unifil-statement-10-december-2025
7•a_paddy•20m ago•0 comments

Token‑Efficient Agents: Building MCP‑Heavy Agents Without Burning Tokens

https://codeagentsalpha.substack.com/p/tokenefficient-agents-building-mcpheavy
1•olegkozlov•20m ago•1 comments

Scouts by Yutori is now generally available

https://yutori.com/scouts
10•abhshkdz•25m ago•1 comments

A smart cup for wireless, biofuel-powered, sweat-based Vitamin C sensing

https://www.sciencedirect.com/science/article/abs/pii/S0956566325009777?via%3Dihub
1•PaulHoule•26m ago•0 comments