Plenty of servers give a coding assistant web search. What this one adds is that the search is not blind — the hook has already sent what you have open and what just failed, so a query about a library error can come back with the page that matches your version rather than the top result. That also means it sends session context out on every prompt by design, which is worth knowing before you install it on a private codebase.
An MCP server and prompt hook for Claude Code and Codex CLI. The search side lets the assistant pull current documentation and web results instead of relying on training data. The hint side is what makes it different: a prompt hook sends lightweight session context — files, errors, recent messages — on each prompt, so the results come back scoped to what you are actually stuck on.
- Web and documentation search the assistant can call mid-task, so answers reflect current docs rather than a training cutoff
- Contextual hints derived from your open session — the files, the errors, the recent messages — instead of generic advice for the topic
- Automatic context sync on every prompt through the installed hook, with no per-task setup
- An installer that writes the client config for you, in interactive or non-interactive form, targeting `--client claude` or `--client codex`, with `--dry-run` to preview the changes and automatic backups before anything is edited
An API key from tomsindex.com/dashboard, in the form `srch_...`. Install with `npx tomsindex` — the npm package is `tomsindex` (0.3.0 in package.json) and ships a `tomsindex` binary. `npx tomsindex doctor` checks an existing setup, and `npx tomsindex uninstall` removes it from your tools. To confirm tool calls are landing in Codex, set `TOMSINDEX_MCP_LOG` to a file path and read it back.
One command plus a key — npx tomsindex, then supply credentials
