frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built MCP on Ruby to help developers turn any Rails API into an MCP server

https://github.com/nagstler/mcp_on_ruby
2•NinjaGems•1y ago

Comments

NinjaGems•1y ago
I built MCP on Ruby, a gem that turns your Rails app into a fully-featured LLM server following the Model Context Protocol standard.

- What is it? Think of MCP as "REST for LLMs" - it standardizes how apps talk to AI models.

My implementation brings this to Ruby/Rails with:

Provider adapters for OpenAI & Anthropic (just add your API key)

Persistent storage options (memory, Redis, ActiveRecord)

Streaming responses for dynamic UIs

File handling & tool calling support

*Rails integration with just a few lines of code

- Why I built it I wanted a clean, Rails-friendly way to add AI capabilities without writing boilerplate for each provider. The existing MCP implementations were Python-focused, so I built this for the Ruby community.

- The ActiveRecord storage (just released in v0.3.0) lets you store conversations in your existing Rails database.

- Try it out: https://github.com/nagstler/mcp_on_ruby

Declining Birth Rates Globally

https://flowingdata.com/2026/05/25/declining-birth-rates-globally/
1•gmays•8m ago•0 comments

Berkshirehathaway.com – The Perfect Minimalist Website

https://berkshirehathaway.com
4•SpyCoder77•24m ago•0 comments

Track Political Stories Across the Web

https://plotline.news
1•yshunnar•25m ago•0 comments

How Elon Musk Killed Hundreds of Thousands of People

https://www.currentaffairs.org/news/how-elon-musk-killed-hundreds-of-thousands-of-people
5•tastyface•25m ago•1 comments

WWDC 2026 Platforms State of the Union [video]

https://developer.apple.com/videos/play/wwdc2026/102/
1•ksec•25m ago•0 comments

Show HN: DaysLeft – a bio-age clock that shows a range, not a death date

https://daysleft.io
1•neo-genesis•28m ago•0 comments

Waymo bought Apple's self-driving car proving ground for $220M

https://techcrunch.com/2026/06/08/waymo-bought-apples-self-driving-car-proving-ground-for-220m/
2•sbulaev•31m ago•0 comments

Deciding on secession: how familiar and unknown futures shape loss aversion

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1805138/full
1•PaulHoule•31m ago•0 comments

Screenlet lets you record and export product demo videos from the browser

https://chromewebstore.google.com/detail/screenlet/cdefecgpidbfmcifjecnbhldndpflhod
1•sakhtar0092•32m ago•0 comments

Build a ZeroCost Web Automation Pipeline with OpenRouter, OpenClaw, and MediaUse

https://pub.towardsai.net/build-a-zero-cost-web-automation-pipeline-with-openrouter-openclaw-and-...
1•yooibox•38m ago•0 comments

I Analyzed 163K Lines of Kuzu's Codebase. Here's Why Apple Wanted It

https://medium.com/data-science-collective/i-analyzed-163k-lines-of-kuzus-codebase-here-s-why-app...
2•ksec•39m ago•0 comments

Lscpu for Mac / Apple Silicon

https://github.com/hcarvalhoalves/lscpumac
1•manoDev•39m ago•1 comments

My URL/NSURL bug in the OS 27

https://lapcatsoftware.com/articles/2026/6/1.html
1•ilreb•42m ago•0 comments

Hot path optimization. When float division beats integer division

https://blog.andr2i.com/posts/2026-06-08-optimization-catalog-when-float-division-beats-integer-d...
1•birdculture•43m ago•0 comments

Show HN: Durable, asynchronous LLM workflow engine in Rust

https://crates.io/crates/langcontinuation
1•rescrv•45m ago•0 comments

Ask HN: Do you also feel like KYC is turning you off to the concept of money

1•JumpinJack_Cash•45m ago•0 comments

Faith, Dignity, and Human Flourishing: Hearing God's Voice in an Age of AI [video]

https://www.youtube.com/watch?v=Ts5Z64A0Vv4
2•ldayley•48m ago•1 comments

Show HN: SnakeBaby – Cute symbols, bios, kaomoji, and username ideas

https://snakebaby.com/
1•zylics•49m ago•0 comments

Show HN: Web tools an AI agent pays for per call in USDC, no API key (x402+MCP)

https://superhighway.walls.sh
2•patwalls•50m ago•0 comments

AI, Argentina and the Antichrist: Thiel's Vision Blooms

https://www.thenerdreich.com/ai-argentina-and-the-antichrist-thiels-vision-blooms/
1•prawn•52m ago•0 comments

New command-line in macOS 27 for interacting with Foundation Models

https://bsky.app/profile/alex.zenla.io/post/3mnswr2qxb22i
2•alexzenla•53m ago•0 comments

Reading Buffett and Munger, the stuff that stuck had nothing to do with stocks

https://old.reddit.com/r/ValueInvesting/comments/1u0hbzt/spent_my_first_year_actually_reading_buf...
1•dkga•55m ago•0 comments

Our Stock Market Is Broken

https://www.nytimes.com/2026/06/08/opinion/spacex-ipo-stock-market.html
4•2OEH8eoCRo0•59m ago•0 comments

Autonomy Is Not a Switch

https://autonomousagents19.com/blog/governed-autonomy/approval-hybrid-autonomous-three-modes-of-t...
1•KissMySaas•1h ago•0 comments

macOS 27 requires Apple Silicon, as Apple draws down the Intel Mac era

https://arstechnica.com/gadgets/2026/06/macos-27-requires-apple-silicon-as-apple-draws-down-the-i...
3•gk1•1h ago•0 comments

How to Find Consulting Clients (2015)

https://www.gkogan.co/how-to-find-consulting-clients/
1•gk1•1h ago•0 comments

If only you could be so lucky as to feel regret

https://www.bitsofwonder.co/p/if-only-you-could-be-so-lucky-as
1•ogundipeore•1h ago•0 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
2•baetylus•1h ago•0 comments

Same Query, Three Results: Benchmarking ParadeDB and Postgres FTS

https://www.paradedb.com/blog/benchmarker-iteration
1•jamesgresql•1h ago•1 comments

The Truth About Salt – By a Midwestern Doctor

https://www.midwesterndoctor.com/p/the-truth-about-salt-efa
1•bilsbie•1h ago•1 comments