Set up in one command. Search, docs, and extract.
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 |
| 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 -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 }
}{
"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, and extraction in one API. No stitching, no multiple bills.
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.