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

Pong Wars on the Commodore 64

https://imrannazar.com/articles/c64-pongwars
2•Teckla•2m ago•0 comments

The Full List of Trump's New Tariffs on 60 Economies

https://www.bloomberg.com/news/articles/2026-07-24/here-s-the-full-list-of-trump-s-new-tariffs-on...
1•alephnerd•2m ago•0 comments

The cost of GPUs goes far beyond AI data centers

https://www.theverge.com/cs/features/937356/ai-data-center-gpu-environmental-impact
3•acmnrs•4m ago•0 comments

Open Source Tax Engine outperforming GPT sol and Fable 5

https://opentax.invaro.ai/
2•asmigulati•7m ago•0 comments

Harness Handbook – Making Agent Harnesses Understandable, Auditable and Editable

https://ruhan-wang.github.io/Harness-Handbook/
2•gmays•13m ago•0 comments

RubyGems advisory: Possible leak of legacy API keys via improper cache config

https://blog.rubygems.org/2026/07/22/security-advisory-legacy-api-key-leak.html
1•forks•14m ago•0 comments

2026 western US snow drought was about 4x more likely due to climate change

https://www.pnas.org/doi/full/10.1073/pnas.2612961123
3•littlexsparkee•18m ago•2 comments

Which Odyssey translation wins a blind reading test?

https://homer.scrivium.com/report/
2•curo•20m ago•0 comments

Tencent WorkBuddy Bench – Agentic Coding Leaderboard

https://workbuddybench.com/index.html
1•ilreb•21m ago•0 comments

The Corporate Creep of Plex: Why it may be time to move to Jellyfin

https://reprodev.com/the-corporate-creep-of-plex-why-it-may-be-time-to-move-to-jellyfin-and-the-o...
2•reprodev•21m ago•0 comments

Slow Exhale

https://dgmor.itch.io/slow-exhale
1•skhr0680•22m ago•0 comments

Asthma Control Before and After Changing Gas Stoves to Electric Stoves

https://www.sciencedirect.com/science/article/pii/S2213219826005374
3•tchalla•25m ago•0 comments

Vanishing archaeological landscapes in Mesopotamia:CORONA imagery site detection

https://arxiv.org/abs/2507.13420
2•Jimmc414•30m ago•0 comments

Microsoft 365 outage affects Teams, SharePoint and other services

https://www.bleepingcomputer.com/news/microsoft/microsoft-365-outage-affects-teams-sharepoint-and...
3•Khaine•31m ago•1 comments

Deep in a Vermont Lake, a Contagious Cancer Is Spreading

https://www.nytimes.com/2026/07/22/science/contagious-cancer-catfish.html
1•eigenhombre•31m ago•0 comments

Automated sign detection across the Electronic Babylonian Library

https://arxiv.org/abs/2606.22608
2•Jimmc414•33m ago•0 comments

Police Removed Prominent Scientists from the ADA Meeting. Researchers Respond

https://www.the-scientist.com/police-removed-prominent-scientists-from-the-ada-meeting-researcher...
11•fosco•33m ago•1 comments

When Abraham Lincoln Fought a Duel:The Astonishing Saber Duel of Abraham Lincoln [video]

https://www.youtube.com/watch?v=9nSCZCtGpQs
1•fortran77•33m ago•0 comments

Minimalist Film

https://en.wikipedia.org/wiki/Minimalist_film
2•hopelessluca•34m ago•0 comments

Echo Chamber: how bubbles form, and how to break them

https://echo.logicaleap.com/?e=1.4&a=0&rho=0.1&h=0.8&n=150&od=6&seed=42&topo=ba&b=0&k=8&t=random&...
1•gmays•37m ago•0 comments

The Myth of the 'Waterfall' SDLC

http://www.bawiki.com/wiki/Waterfall.html
1•b-man•40m ago•0 comments

Why AI works worse in your language

https://artifipedia.com/blog/multilingual-ai
2•ilreb•47m ago•0 comments

In a first, Chinese woman wins the prestigious Fields Medal

https://www.npr.org/2026/07/23/g-s1-135032/in-a-first-chinese-woman-wins-the-prestigious-fields-m...
2•jdnier•50m ago•0 comments

China's Electric Trucks, Diesel's Peak, and What Western Planners Still Dont See

https://cleantechnica.com/2026/07/22/chinas-electric-trucks-diesels-peak-and-what-western-planner...
3•xbmcuser•51m ago•0 comments

Second Nature

https://twitter.com/thegarden_sf/status/2079825241816334763
1•gdss•56m ago•0 comments

Show HN: Is there water? Live answers for Austin's creeks, lakes, and springs

https://atxwater.info/
1•mrctte•58m ago•0 comments

Pixuma: Fundamentals of Computer Science and Mathematics

https://pikuma.com/
1•bananaboy•58m ago•0 comments

Parasocial Relationships Shape Our Lives

https://medium.com/theentertainmentbreakdown/the-unreality-of-the-truman-show-parasocial-ideas-cf...
1•raynchad•1h ago•0 comments

Broadscale Deep Learning for Maya Settlement Detection in G-LiHT Lidar

https://link.springer.com/article/10.1007/s10816-025-09741-5
1•Jimmc414•1h ago•0 comments

Wayback Machine

https://web.archive.org
2•trekhleb•1h ago•0 comments