frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: RLM-MCP optimize context in Claude Code Using MIT's recursive LM paper

1•ahmedm24•1h ago
RLM-MCP – Analyze massive files in Claude Code using MIT's Recursive Language Models.

I built an MCP server that lets Claude Code analyze files that exceed its context window by implementing the Recursive Language Models approach from MIT (arXiv:2512.24601).

The problem: Claude Code can't fit a 10GB log file in its context. Traditional grep/read returns thousands of tokens of raw matches.

The solution: Instead of stuffing data into context, treat the file as an external environment. Claude writes Python code, the MCP server executes it on the full file, and only the results come back.

You: "Find all errors in this 5GB log"

Claude: loads file → writes regex → executes in REPL → returns matches

Result: 78% fewer tokens, same accuracy

Real benchmark (300KB log file): - Grep/Read: ~12,500 tokens - RLM: ~2,700 tokens - Both found identical results

No API keys needed – works with Claude Code subscriptions. Claude itself is the "brain," the MCP server is just the "hands" executing Python.

Install: pip install rlm-mcp

  Add to Claude Code settings:
  {"mcpServers": {"rlm": {"command": "rlm-mcp"}}}

  GitHub: https://github.com/ahmedm224/rlm-mcp
  Paper: https://arxiv.org/abs/2512.24601
Would love feedback on the approach. The MIT paper tested with GPT-5 and Qwen – this adapts it for Claude Code's MCP architecture

Comments

ahmedm24•1h ago
This is just an initial beta but it works, I saw the MIT paper really useful for analyzing logs and errors. I created the MCP to solve a real pain I have when using AI coders.

An archery game that uses charging cable as the controller

https://twitter.com/rebane2001/status/2014007573037355357
1•kartikarti•40s ago•0 comments

Ant smuggling case highlights legal inconsistencies

https://phys.org/news/2025-12-ant-smuggling-case-highlights-legal.html
1•PaulHoule•47s ago•0 comments

Exploring Crystal macros: Building file-based routing for Kemal

https://krthr.co/exploring-crystal-macros-building-file-based-routing-for-kemal/
1•krthr•3m ago•0 comments

Ask HN: How locked down are your work machines?

1•donatj•4m ago•0 comments

KTree – Kubernetes Browser

https://github.com/amartiniuc/ktree/blob/main/README.md
2•amartiniuc•5m ago•1 comments

Using the BusyBox trick to turn AI prompts into "native" executables

https://tgalal.com/blog/genai-prompts-as-native-programs
1•tgalal•6m ago•0 comments

A 23-year-old's $1.5B AI hedge fund shows how prophecy turns profits

https://fortune.com/2025/10/09/as-ai-bubble-warnings-mount-a-23-year-olds-1-5-billion-hedge-fund-...
1•paulpauper•7m ago•0 comments

Quadratic Bezier – Distance 2D

https://www.shadertoy.com/view/MlKcDD
1•coffeeaddict1•7m ago•0 comments

funding.json

https://fundingjson.org/
1•jruohonen•7m ago•0 comments

Diplomacy by WhatsApp

https://www.newcartographies.com/p/diplomacy-by-whatsapp
1•treadump•8m ago•0 comments

Tesla cuts 1,700 jobs at Gigafactory Berlin despite denying it

https://electrek.co/2026/01/21/tesla-quietly-cuts-1700-jobs-at-gigafactory-berlin-despite-denying...
4•toomuchtodo•8m ago•0 comments

What AI Accountability Looks Like (I Built It)

https://forgeforward.substack.com/p/what-ai-accountability-actually-looks
1•forgeforward•8m ago•1 comments

Gayvn

https://www.facebook.com/events/virgin-hotels-las-vegas/live-2026-gayvn-awards-livestream-full-sh...
1•notgoodme•10m ago•0 comments

Show HN: CausaNova – Deterministic runtime for LLM constraints via Ontology

https://petzi2311.github.io/
1•CausaNova•10m ago•1 comments

Howard Lutnick: Why the Trump administration is going to Davos

https://www.ft.com/content/a675b8af-46b7-4f93-a616-41f0a002c22e
1•macleginn•12m ago•0 comments

Drug Laws Have Prevented Scientists from Studying Mushrooms

https://thesporereport.com/?p=606
2•speckx•13m ago•0 comments

Bitwarden launches enhanced premium plan

https://bitwarden.com/blog/bitwarden-launches-enhanced-premium-plan/
1•brycewray•13m ago•0 comments

Devin Review: AI to Stop Slop

https://cognition.ai/blog/devin-review#the-birth-and-stagnation-of-code-review
1•swyx•13m ago•0 comments

Microsoft CEO warns AI must 'do something useful' or lose 'social permission'

https://www.pcgamer.com/software/ai/microsoft-ceo-warns-that-we-must-do-something-useful-with-ai-...
2•akyuu•15m ago•0 comments

DOGE Employees Shared Social Security Data, Court Filing Shows

https://www.nytimes.com/2026/01/20/us/politics/doge-employees-social-security-data.html
3•pseudolus•15m ago•1 comments

Verizon carriers start switching to 365day device unlock policy, up from 60 days

https://9to5google.com/2026/01/20/verizon-device-unlock-policy-365-day/
1•thunderbong•15m ago•0 comments

More diversity means better science, says Nature journal chief

https://www.thetimes.com/uk/science/article/dei-diversity-better-science-nature-journal-boss-tgb7...
1•binning•16m ago•0 comments

How the NHS became the battleground in the trans debate facing workplaces

https://www.bbc.co.uk/news/articles/c7v0l25mr2ro
2•binning•20m ago•0 comments

Power, Consumption and Gender: An analysis of Barbara Kruger's political art

https://feminisminindia.com/2026/01/14/power-consumption-and-gender-an-analysis-of-barbara-kruger...
1•binning•21m ago•0 comments

Every big lab is putting resources in building world models

https://ankitmaloo.com/world-models/
1•ankit219•21m ago•0 comments

Show HN: Remember Me – O(1) Client-Side Memory (40x cheaper than Vector DBs)

https://github.com/merchantmoh-debug/Remember-Me-AI
1•MohskiBroskiAI•21m ago•0 comments

Manipulating blood CO₂ levels may help clear toxic proteins from the brain

https://medicalxpress.com/news/2026-01-blood-co8322-toxic-proteins-brain.html
1•bikenaga•21m ago•1 comments

480k-Year-Old Elephant Bone Tool Is the Oldest Ever Found Outside Africa

https://www.iflscience.com/this-480000-year-old-elephant-bone-tool-is-the-oldest-ever-found-outsi...
1•geox•24m ago•0 comments

How are you automating your coding work?

8•manthangupta109•25m ago•2 comments

Tracking Kernel Development with Korgalore

https://people.kernel.org/monsieuricon/tracking-kernel-development-with-korgalore
1•atomlib•25m ago•0 comments