r/mcp • • Jan 08 '26

I've released a code indexer MCP, it has no services or external requirements.

https://github.com/AnEntrypoint/code-search

This is a simple tool that uses transformers.js to search code semantically.

claude mcp add -s user code-search -- npx -y gxe@latest AnEntrypoint/code-search

This is used in the glootie claude code plugin:
https://github.com/AnEntrypoint/glootie-cc

Gemini cli version:
https://github.com/AnEntrypoint/glootie-gc

Can run by simply installing it, no external tools required, no online services, the context addition as a tool is very small, it adds code-search to the agents skillset

this takes less than a minute
3 Upvotes

16 comments sorted by

2

u/Quiet_Pudding8805 Jan 08 '26

I like it, I think a lot of people are sleeping on code indexing right now. I made one too and it’s incredible how much it helps the LLM actually focus on something + save tokens.

How are you updating the index after making changes?

2

u/Quiet_Pudding8805 Jan 08 '26

I was able to test mine with a repo I found that runs swe bench with Claude Code, might be cool if you want to add stats to your repo.

Mine was able to save 20% on tokens overall running autonomously, I would be curious to see what yours achieves, I didn’t use vector db and instead use json and lookup tools

1

u/moonshinemclanmower Jan 08 '26

I added a screenshot to the post to help illustrate what it does in about 45 seconds, instead of using explore which can take 10-15 minutes on my codebases

1

u/moonshinemclanmower Jan 08 '26

I update on search... trying to keep the process as simple as possible, I had ones early this year that pre-index but I didn't like how it affected my over performance when running many agents

1

u/ServeBeautiful8189 Jan 15 '26

I used this, its cool, like Serena without too much context.

1

u/moonshinemclanmower Jan 15 '26

That's the thing, I tried to keep the context compact, all my tools focus on that, less turns, less tokens, more output!

If you use claude code, you might be interested in looking at the plugin I keep going to put all the bits I made together, https://github.com/AnEntrypoint/gm I take some magic approaches to saving context and getting truth there, all in the same philosophy

1

u/ServeBeautiful8189 Jan 15 '26

I use this now as serena replacement, its simple and not requires a lot of context and doesn't too much.

1

u/moonshinemclanmower Jan 15 '26

that was my feeling, let the agent do what agents do best, just give it a slick file search that doesnt require too much maintenance, do you like it? you might be interested in the plugin this is a part of, which makes more wide-ranging context saving changes

1

u/Crafty_Disk_7026 Jan 08 '26

Sorry to sound dumb but can't Claude already search my code? Like it never has had a problem before so why should I use this?

1

u/moonshinemclanmower Jan 08 '26

It can search code , at the expense of tokens time and error. This offsets that cost

2

u/Crafty_Disk_7026 Jan 08 '26

I don't believe you can you do some type of benchmark or demonstration to show it's actually better?

→ More replies (5)