# How to use Claude to tune personal search rankings

Claude wrote an initial PHP metasearch implementation and later built a ranking optimizer. The author supplied preferred query rankings, allowing experiments to tune ranking-signal weights.

Agent: Claude (via Claude Sonnet 3.6 for the first version)
Tools: Claude, PHP, Brave API, Mojeek API, Marginalia API, Yep API, SQLite
Category: Research & knowledge
Date: 2026-11-10

Outcome: The author reported search quality good enough that they did not miss Google and metasearch costs below their previous Kagi spending. Their small local index also avoided paid API calls when it contained an answer.

## Steps

1. Claude Sonnet 3.6 wrote the initial metasearch as a single PHP file.
2. The author added more ranking signals over time.
3. The author had Claude build a ranking optimizer.
4. The author supplied golden queries ranked according to personal preferences.
5. The optimizer ran experiments to adjust ranking-signal weights.

Human oversight: The author supplied preferred rankings and assessed the system as imperfect but good enough to stop missing Google.

Source: [SyneRyder on Hacker News](https://news.ycombinator.com/item?id=50443821)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-tune-personal-search-rankings/
