Connect StackGrep to Claude, Claude Code, Cursor or Codex once, and your agent can search every collection you've loaded: exact text, regex, metadata filters, exact counts, and the full document when it needs it. Nothing to host.
# Claude Code claude mcp add --transport http stackgrep https://stackgrep.com/mcp # tools your agent gets list_collections · search_collection · count_collection · get_document
search_collection(query: "payments-db")count_collection(query: "7 days")get_document(id: "macros/refund-window")MCP clients that support OAuth (Claude, Claude Code, Cursor and others) open a StackGrep sign-in and consent page; each connected client gets its own revocable credential. Others can send an API key header.
The collection tools are read-only: list, search, count, read. Writes go through the REST API with an API key.
Yes. The same server also has tools to search the source of the websites we've indexed and to fetch a live page as Markdown.
StackGrep Engine is onboarding teams from the waitlist. Bring your documents or your bucket.