Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

CodeRAG

Free#32 of 42 in Code Search Tools

CodeRAG: A self-hosted, open-source search library for semantic code retrieval. Ranked #32 of 42 in Code Search Tools by our editors (5.4/10); pricing: Free plan; best for embedding-based code chunk retrieval.

5.4/10Editor score
CodeRAG5.4 Visit CodeRAG

At a glance

  • Editor score
    5.4 / 10
  • Pricing
    Free plan
  • Best for
    Embedding-based code chunk retrieval
  • Free plan
    Yes
  • Paid from
    Free
  • Deployment
    Self_hosted
  • Facts checked
    24 Sep 2026
CodeRAG screenshot
  • Where it wins

    • AST chunking preserves function and class boundaries
    • Hybrid keyword and semantic search with optional embeddings
    • Incremental indexing, filters, and line-range metadata
  • Where it doesn't

    • Self-hosted deployment requires managing your own environment
    • Integration options center on OpenAI embeddings and MCP clients
    • The @sylphx/coderag API documentation is marked legacy

Our verdict on CodeRAG

CodeRAG is an open-source code-search library for developers and AI coding assistants. It indexes a codebase at semantic boundaries such as functions and classes, then retrieves those chunks through keyword and semantic methods. The project supports API and self-hosted deployment, making it suitable for individuals, small teams, and larger organizations that want local control over code indexing and retrieval.

Its strongest capability is the combination of AST-aware chunking and hybrid search. Chunks are formed around meaningful code structures rather than arbitrary text segments, while search can combine keyword matching with semantic retrieval. Optional embeddings use a configurable provider, including OpenAI embeddings, and the default TF-IDF path can search without an embedding API. Persistent and in-memory storage options support different operational needs, while incremental indexing and file-change watching help keep a codebase current. Filters for extensions, paths, and excluded paths narrow results, and returned line-range metadata helps downstream tools locate relevant code.

CodeRAG fits teams comfortable running self-hosted software and integrating an API into their own workflow. MCP clients are supported, and the project documents an MCP server and CLI published under the Locus name. The documented @sylphx/coderag API is identified as legacy, so teams should account for that distinction when selecting an integration path. Documentation is the listed support channel, and the integration surface is narrower than products with broad hosted ecosystems. Choose CodeRAG when embedding-based retrieval, local deployment, and configurable indexing matter most; consider an alternative if you need a managed service or a wider range of native integrations.

Your product? Our editors can test CodeRAG in depth and publish a review, labelled as paid · from $149/mo →

CodeRAG pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

CodeRAG fact sheet

Free planYes
Paid fromFree
Indexing scopeCodebase
DeploymentSelf_hosted
Supported languagesNot verified
Regex searchNot verified
Code navigationYes
IDE extensionsNot verified
DeploymentSelf-hosted
SupportDocs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: OpenAI embeddings, MCP clients
PricingFree plan
Websitegithub.com
Facts checked24 Sep 2026

CodeRAG integrations

CodeRAG lists 2 integrations on its own site.

  • OpenAI embeddings
  • MCP clients

Alternatives to CodeRAG

See all CodeRAG alternatives →

Used CodeRAG? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used CodeRAG for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — CodeRAG 5.4/10

CodeRAG is listed in our Code Search Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/coderag/"><img src="https://www.itechguides.com/best/badge/coderag.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update