Make Claude Code Faster and Cheaper with Ory Lumen Ory released Ory Lumen, an open-source local semantic code search engine that runs as an MCP server alongside Claude Code and cut Claude Code runtime by up to 53% and API costs by up to 39% in SWE-bench-style benchmarks. Across 8 benchmark runs on 8 languages, Ory reported average cost reductions of 26% and time reductions of 28% for bug-fix tasks, with quality maintained and zero regressions. Lumen indexes a codebase with local embedding models via Ollama or LM Studio, stores the index at ~/.local/share/lumen//index.db, and exposes a semantic_search tool so Claude finds functions, types, and modules by meaning instead of reading files directly. Make Claude Code faster and cheaper with Ory Lumen Index your codebase with local embeddings and cut Claude Code runtime by up to 53% and API costs by up to 39% - verified by SWE-style benchmarks. Ory Lumen https://github.com/ory/lumen makes Claude Code faster and cheaper by adding local semantic search through SQLite-vec. As Ory's codebase has grown, I have noticed Claude Code getting slower and more expensive to use. The reason is straightforward: Claude defaults to grep, glob, and find, and those tools depend on exact matches. More code + LLM guesses create more surface area, which leads to more tool calls, higher token costs, higher context use, and slower task completion. When you ask Claude to find a function or understand a module, it guesses file and function names and then tries to match them exactly. That works in a small codebase. In a larger one, it becomes expensive in both time and API costs. The problem gets worse as the codebase grows, which is the point where you need it to improve. Want to try it now? Go to the README at https://github.com/ory/lumen https://github.com/ory/lumen and, if it is useful, leave a star. I wrote about this in more detail recently: agents struggle to build and keep a durable mental model of a codebase. They repeatedly rediscover code by guessing and reading files instead of keeping reference of where what lives. That is a constraint of how LLMs work today, not a bug waiting for a patch. Ory Lumen https://github.com/ory/lumen https://github.com/ory/lumen is a practical response to that constraint. It improves discoverability in codebases large and small Ory Lumen https://github.com/ory/lumen is a local semantic code search engine that runs as an MCP server alongside Claude Code. It indexes your codebase with local embedding models and exposes a semantic search tool that Claude can call instead of reading files directly. Claude can then find relevant functions, types, and modules by meaning, without opening large numbers of files to inspect them. How it works: semantic search and gets back the relevant chunks without touching the files. Everything runs on your machine. There are no API keys, cloud services, or external dependencies. The embedding backend is Ollama https://ollama.com/ or LM Studio https://lmstudio.ai/ . The index is stored at ~/.local/share/lumen/