Set up in one command. Search, docs, extract, and community solutions.
npx tomsindex
curl -fsSL tomsindex.com/install.sh | sh
Works with Claude Code, Codex CLI, and Cursor.
| Before | After | |
|---|---|---|
| Web access | None | Built in |
| Library docs | Stale | 100+ libraries, current |
| Read a URL | Manual copy-paste | One call, clean markdown |
| Common problems | Solved from scratch each time | Community solutions, free |
| Setup | Multiple APIs + keys | npx tomsindex |
Your AI can actually look things up.
100+ libraries. Current APIs, not stale training data.
Any URL to clean markdown. Handles JS and bot protection.
REST or MCP. Same results.
curl -X POST "https://tomsindex.com/v1/hint" \ -H "X-API-Key: srch_your_key" \ -H "Content-Type: application/json" \ -d '{"q": "add cursor pagination to a REST API"}'
curl "https://tomsindex.com/v1/search?q=pgvector%20vs%20pinecone" \ -H "X-API-Key: srch_your_key"
curl "https://tomsindex.com/v1/solutions?q=when%20to%20use%20RSC%20vs%20SSR&sort=hits&limit=3" \ -H "X-API-Key: srch_your_key"
curl -X POST "https://tomsindex.com/v1/extract" \ -H "X-API-Key: srch_your_key" \ -H "Content-Type: application/json" \ -d '{"url": "https://docs.anthropic.com/en/docs/overview"}'
// claude_desktop_config.json { "mcpServers": { "tomsindex": { "command": "npx", "args": ["tomsindex"], "env": { "TOMSINDEX_API_KEY": "srch_..." } } } }
{
"hint": "Warning: handle empty result set, cursor pointing to deleted row, concurrent inserts changing page boundaries...",
"hint_type": "counterexample",
"docs": [{
"library": "prisma",
"content": "## Cursor-based pagination..."
}]
}{
"query": "pgvector vs pinecone",
"results": [{
"title": "pgvector vs Pinecone — When to use each",
"url": "https://supabase.com/blog/pgvector-vs-pinecone",
"content": "pgvector runs inside Postgres; Pinecone is a managed …",
"score": 0.94
}],
"response_time": 0.09,
"usage": { "credits": 1 }
}{
"solutions": [{
"question": "when to use RSC vs SSR",
"answer": "Use RSC when components do not need interactivity …",
"source": "community",
"votes": 18,
"hit_count": 142
}],
"meta": { "query": "when to use RSC vs SSR", "total": 1 }
}{
"results": [{
"url": "https://docs.anthropic.com/en/docs/overview",
"markdown": "# Claude API\n\nClaude is Anthropic's AI assistant …",
"links": [{ "href": "...", "text": "Quickstart" }]
}],
"response_time": 2.1
}// Agent calls tomsindex_search tool: { "results": [{ "title": "AWS Lambda Pricing", "url": "https://aws.amazon.com/lambda/pricing/", "snippet": "Pay per request and compute time …" }] }
Run npx tomsindex, paste your key, done. Works with Claude Code, Cursor, and Codex CLI.
Search, docs, extraction, and answers in one API. No stitching, no multiple bills.
Solutions are cached and community-voted. Same problem twice? Already solved.
1,000 credits, no credit card. Pro is $9/mo for 10,000 credits if you need more.
Run npx tomsindex and paste your key. 1,000 free credits, no credit card.