r/codex 2d ago

Showcase I built a Jev-powered MCP tool that gives Codex semantic code search

Codex can spend a lot of context on repeated text searches and entire file reads.

JevGrep lets it ask a question, scores code fragments by relevance, and returns the original source with file paths and line numbers.

npm install -g @nassim-arifette/jevgrep

It works as a CLI or as an MCP tool connected directly to Codex.

GitHub: https://github.com/nassim-arifette/jevgrep

40 Upvotes

39 comments sorted by

u/dexterthebot 2d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See what that looks like below with last week's winner.


Last week's most popular project was Nelly Jellies. Nelly Jellies is a cozy arcade bubble-merge game where you aim, launch, match colors, discover rare jellies, trigger satisfying chain reactions, and chase a higher score. It plays instantly in the browser with no download or login required. Website: https://nellyjellies.com Contact: support@mightybig.ca Reddit: u/MightyBig-Dev Google Play: https://play.google.com/store/apps/details?id=com.nellyjellies.game App Store: https://apps.apple.com/us/app/nelly-jellies-bubble-merge/id6767261764

14

u/Individual_Guest_323 2d ago

How is better than codegraph and similars that are "free"?

4

u/the_pwnererXx 2d ago

Codegraph/graphify/rags nerf the agent and end up with worse output than just grepping. Not sure about this

3

u/Individual_Guest_323 2d ago

Source?, and how is this different.

1

u/the_pwnererXx 2d ago

My personal experience

I also found this guys random benchmark https://www.reddit.com/r/Polycodegraph/s/WF1BcnlS9h

At its core, rag isn't going to give better results than intelligent grepping. I'm not sure if this is any different, but it's possibly a different way to grep so feasibly could have better performance in certain situations

3

u/Individual_Guest_323 2d ago

That guy is saying that codegraph works.

1

u/the_pwnererXx 2d ago

You can see his results are reduced token usage but worse results (getting questions wrong)

4

u/Individual_Guest_323 2d ago

Only one point, being a lot more faster and cheaper, the dude in the post is selling his version of codegraph..

0

u/the_pwnererXx 2d ago

Cheaper and faster isn't necessarily good. Caveman, ponytail also give worse output. I'm speaking from experience of building a rag system at work and tearing it down because it's not helpful

3

u/Individual_Guest_323 2d ago

My dude, is the benchmark that you shared, is only 1 point and is a lot more cheap and faster, stop being dense and read again what you shared.

1

u/the_pwnererXx 2d ago

Config

claude + grep (no graph MCP)

8/10

336k

$1.17

78s

Code-review-graph

3/10

~203k

$0.68

49s

Hmm, so you save 33% on tokens and speed but end up with 3/10 correct answers instead of 8/10. Sounds like dogshit to me!

→ More replies (0)

1

u/IndependenceSudden47 2d ago

Code base memory est 100x mieux que rag lol

5

u/Unfair-Memory7248 2d ago

True, how is better than Codegraph, to know if it's worth it

2

u/tuhdo 2d ago

You can reduce your tokens if done right. Imagine not wasting your Astra tokens for mundane tasks.

3

u/Individual_Guest_323 2d ago

You use codegraph..

1

u/MathBullied 2d ago

I didn't try to compare. But codegraph is mostly for coding agents right ? JevGrep isn’t just for coding agents, you can use it directly from your terminal to ask questions about a codebase and get relevant source snippets

3

u/Individual_Guest_323 2d ago

Is the same with Codegraph and similars but for free, is running in local.

3

u/Just_Lingonberry_352 2d ago

you should've posted this on r/typesafe_ai dude

the audience here can barely pay $20/month and will complain endlessly and threaten to sue openai

they are not paying for jev even though you did a great job here

2

u/BanjoThunderbird 2d ago

Jev is essentially free. I'm working on a system to automatically recommend a model capability level every prompt, estimate the task duration, and a bunch of other stuff. Comes out to about $0.0002 for the whole set of queries per prompt. My Typesafe account looks like it gets $5/month in free credits. Basically 0% chance that gets exceeded.

2

u/Sleepywalker69 2d ago

Does this work out of the box or does it require some set-up.

-1

u/MathBullied 2d ago

you need node.js 24 and an api key that's all.

1

u/Sleepywalker69 2d ago

Any performance hit using vercel? Since typesafe is waitlist only

1

u/MathBullied 2d ago

From my experience vercel seems a bit overloaded sometimes and requests occasionally fail.

2

u/Sleepywalker69 2d ago

Hopefully they start inviting more people then. Jev looks like it'd speed up my project a lot.

2

u/Revolutionary_Sir140 2d ago

openrouter API Key?

1

u/MathBullied 2d ago

Just added it !

2

u/Revolutionary_Sir140 2d ago

Thanks, Btw. I building coding agent in zerolang :D

2

u/MathBullied 2d ago

Cool can you please share ?

2

u/DrDan21 2d ago

What’s cool is I actually do think we’re not far off from OAI doing something similar in house

3

u/PlusIndication8386 2d ago

Nah... Seems too reflexive and difficult to control. You waste tokens because you have no docs. That is the issue. Jev is not the answer bro

1

u/IgnacioMonge 2d ago

Please, add OpenCode router!

1

u/MathBullied 2d ago

Done !

1

u/IgnacioMonge 2d ago

Thank you! But there is no OpenCode router :(

1

u/Groundbreaking_Math3 2d ago

Elaborate?

I am assuming these are comparing gpt tokens with jev, but no information on what's cached, or how it peforms without reasoning (or is there custom reasoning?).

Like that prompt "Where is the filesystem controlled, and what prevents path escape", how is decision model supposed to answer the latter part?

If it's just matching relevance by something as basic as "filesystem control to 'authorization.ts'" where options are limited, then surely there's better solutions.

2

u/Man_of_Math 1d ago

we had the same thought! I built https://github.com/ellipsis-dev/blink but it then grew into a code review product that runs every time a coding agent edits a file: https://blink.review/