Skip to content
Grok

LastSearch for Grok

io.github.lastsearch-hq/lastsearch

Evidence-backed web research for AI agents with citations and confidence scores.

client:Grok transport:stdio runtime:npm

Install LastSearch in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "lastsearch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lastsearch"
      ],
      "env": {
        "LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

LastSearch in other clients