frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

NinjaGems•11mo 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

Recost – track API cost at the code level

https://recost.dev/
1•YoonAtEcoapi•2m ago•0 comments

How rain fences are making Dutch homes more climate resilient

https://www.theguardian.com/environment/2026/apr/09/rain-fences-dutch-homes-climate-resilient
1•alamortsubite•3m ago•0 comments

What nearly 80 years of polls say about US attitudes on space

https://www.cnn.com/2026/04/09/science/artemis-polls-us-attitudes-on-space
1•Cider9986•5m ago•0 comments

Research-Driven Agents: What Happens When Your Agent Reads Before It Codes

https://blog.skypilot.co/research-driven-agents/
5•hopechong•5m ago•1 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
1•codazoda•5m ago•0 comments

EFF Logs Out of X

https://twitter.com/EFF/status/2042278157609480566
8•nord73•6m ago•1 comments

Desalination Technology, by the Numbers

https://www.technologyreview.com/2026/04/09/1135495/desalination-technology-numbers/
3•Brajeshwar•7m ago•0 comments

Show HN: AgentMint – Open-source OWASP compliance for AI agent tool calls

https://github.com/aniketh-maddipati/agentmint-python
2•keertahacker•8m ago•0 comments

Behold, an AI startup with a real business

https://crazystupidtech.com/2026/04/06/behold-an-ai-startup-with-a-real-business/
2•rafaelc•9m ago•0 comments

Show HN: Retevisione – Italian YouTube as Old School Cable TV Guide

https://retevisione.tv/
1•lorenzotenti•9m ago•0 comments

What's Your Political Unconscious?

https://political-unconscious.millermanschool.com/
1•newer_vienna•10m ago•0 comments

Wasmtime's April 9, 2026 Security Advisories

https://bytecodealliance.org/articles/wasmtime-security-advisories
1•phickey•11m ago•0 comments

Lichess' Transparent and Audited Finances

https://docs.google.com/spreadsheets/d/1Si3PMUJGR9KrpE5lngSkHLJKJkb0ZuI4/preview
2•simonebrunozzi•12m ago•0 comments

Fixing AMDGPU's VRAM management for low-end GPUs

https://pixelcluster.github.io/VRAM-Mgmt-fixed/
1•schmorptron•12m ago•0 comments

GoPro to Eliminate 23% of Workforce in Cost-Cutting Move

https://www.wsj.com/business/gopro-to-eliminate-23-of-workforce-in-cost-cutting-move-ca5ba06b
2•bookofjoe•13m ago•1 comments

Npx codemod AI: make your coding agent great at large migrations

https://codemod.com/blog/npx-codemod-ai
1•alexbit2019•14m ago•0 comments

The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy

https://www.thelettersfromleo.com/p/the-pentagon-threatened-pope-leo
108•frm88•18m ago•27 comments

SQLBolt – Learn SQL with simple, interactive exercises

https://sqlbolt.com/
1•saikatsg•19m ago•0 comments

Four-Byte Burger: An obsessive recreation of lost Amiga art

https://www.youtube.com/watch?v=i4EFkspO5p4
1•Triphibian•20m ago•0 comments

Perplexity Introduces Personal Finance

https://www.perplexity.ai/hub/blog/plaid-integration-provides-full-view-of-personal-finances
1•EvanZhouDev•20m ago•1 comments

Valve Developer Improves the Linux Gaming Experience for Limited VRAM Hardware

https://www.phoronix.com/news/Valve-Better-Gaming-Low-vRAM
2•speckx•20m ago•0 comments

Show HN: Logoshi, a brand kit generator for solo founders

https://logoshi.com/
1•sjdegraeve•21m ago•1 comments

Did WordPress VIP leak my phone number?

https://shkspr.mobi/blog/2026/04/did-wordpress-vip-leak-my-phone-number/
3•worldofmatthew•21m ago•0 comments

Chinese Open Source – A (definitive?) history so far

https://interconnect.substack.com/p/chinese-open-source-a-definitive
1•0xWTF•22m ago•0 comments

DDD Bounded Contexts: Clear Domain Boundaries for LLM Code Generation

https://understandingdata.com/posts/ddd-bounded-contexts-for-llms/
1•locknitpicker•22m ago•0 comments

Benchmarking LLM Tool-Use in the Wild

https://arxiv.org/abs/2604.06185
2•Brajeshwar•22m ago•0 comments

Show HN: Proposal for a real long-term AI memory benchmark

https://penfieldlabs.substack.com/p/proposal-a-new-benchmark-for-long
2•dial481•26m ago•0 comments

Little Snitch comes to Linux, but the core logic is closed source

https://the.unknown-universe.co.uk/privacy-security/little-snitch-linux/
3•TheIPW•27m ago•0 comments

Referi is quietly becoming the system behind referrals

https://www.referi.net
1•onlinemelvin•30m ago•1 comments

Show HN: Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs

https://github.com/schicho/mdpdf
2•bastscho•30m ago•0 comments