grok_search: an MCP server that gives any agent live X + web search (wraps the Grok CLI, no X API needed)

One tool, grok_search(query). Returns an answer and a sources list with x.com links when it pulls from posts. Works in Claude Code, Codex, Cursor, anything that speaks MCP.

Here's why I built it. My agent kept hallucinating current info. Package versions wrong, breaking changes it didn't know about, what people were saying on X about a library. All of it out of date because it only has its training data to work with.

I looked into the X developer API and the hosted X-data MCPs. Both were way too expensive for what I needed.

The Grok CLI already pays for itself. It reads X and the web live. So I wrapped that one capability as an MCP server.

There's a native Claude Code / Grok plugin in the repo too if you prefer slash commands over MCP tools.

On the coding features (review, delegate) - those are mostly redundant with whatever agent you already run. The differentiator is the live X/web data. It's a thin, dependency-free wrapper around your local grok CLI. No tokens stored, read-only. Needs the Grok CLI installed and signed in.

Repo (Apache 2.0): https://github.com/VasiHemanth/grok-build-plugin

Feedback welcome, especially on whether the tool description makes your agent reach for it at the right time.

reddit.com
u/Extension-Aside29 — 7 days ago

grok_search: an MCP server that gives any agent live X + web search (wraps the Grok CLI, no X API needed)

One tool, grok\_search(query). Returns an answer and a sources list with [x.com](http://x.com) links when it pulls from posts. Works in Claude Code, Codex, Cursor, anything that speaks MCP.

Here's why I built it. My agent kept hallucinating current info. Package versions wrong, breaking changes it didn't know about, what people were saying on X about a library. All of it out of date because it only has its training data to work with.

I looked into the X developer API and the hosted X-data MCPs. Both were way too expensive for what I needed.

The Grok CLI already pays for itself. It reads X and the web live. So I wrapped that one capability as an MCP server.

There's a native Claude Code / Grok plugin in the repo too if you prefer slash commands over MCP tools.

On the coding features (review, delegate) - those are mostly redundant with whatever agent you already run. The differentiator is the live X/web data. It's a thin, dependency-free wrapper around your local grok CLI. No tokens stored, read-only. Needs the Grok CLI installed and signed in.

Repo (Apache 2.0): [https://github.com/VasiHemanth/grok-mcp\](https://github.com/VasiHemanth/grok-mcp)

Feedback welcome, especially on whether the tool description makes your agent reach for it at the right time.

reddit.com
u/Extension-Aside29 — 7 days ago

I turned my SuperGrok subscription into a live-search tool for any coding agent

So I was using my Grok subscription and realized it has access to X and the web in real time through the CLI. But I'm mostly using coding agents like Claude Code, Cursor, or Codex in my day to day. And those agents are stuck with their training data.

The X developer API is expensive. Hosted X-data MCPs aren't cheap either. Neither made sense for a side project.

So I built a thin MCP server that wraps the Grok CLI's search capability. One tool - grok_search(query) - and your coding agent gets live X and web results with source links.

Since it's MCP, it works with anything that speaks the protocol. Claude Code, Cursor, Codex, any agent. There's also a native Claude Code plugin if you prefer slash commands.

Honest breakdown: the coding features (review, delegate) in the repo are pretty much redundant with whatever agent you already use. The real differentiator is the live search. It's a thin, dependency-free wrapper around your local grok CLI. No tokens stored, read-only.

You just need the Grok CLI installed and signed in.

Repo (Apache 2.0): https://github.com/VasiHemanth/grok-build-plugin

u/Extension-Aside29 — 7 days ago
▲ 1 r/cursor

I couldn't afford the X API, so I turned my Grok subscription into a live-search tool for any coding agent

I wanted my coding agent to see what is actually current (new releases, breaking changes, what people on X say about a library) instead of guessing from old training data. The X developer API was too expensive for a side project, and hosted X-data MCPs were not cheap either.

So I used the Grok CLI I already pay for, since it can read X and the web in real time, and wrapped that one capability as an MCP server. It is a single tool, grok_search(query), that returns an answer plus a sources list (with x.com links when it uses posts).

Because it is MCP, it is not tied to one agent. It works in Claude Code, Codex, Cursor, or anything that speaks MCP, and there is also a native Claude Code / Grok plugin in the same repo if you prefer slash commands.

One thing that is good to be clear about: this needs the Grok CLI installed and signed in. It is a thin wrapper around that, not a standalone server. If you already pay for Grok, there is no extra cost. The main thing it adds is live X plus web data inside any MCP compatible agent.

Repo: https://github.com/VasiHemanth/grok-build-plugin

reddit.com
u/Extension-Aside29 — 7 days ago
▲ 1 r/mcp

grok_search: an MCP server that gives any agent live X + web search (wraps the Grok CLI, no X API needed)

One tool, grok_search(query). Returns an answer and a sources list with x.com links when it pulls from posts. Works in Claude Code, Codex, Cursor, anything that speaks MCP.

Here's why I built it. My agent kept hallucinating current info. Package versions wrong, breaking changes it didn't know about, what people were saying on X about a library. All of it out of date because it only has its training data to work with.

I looked into the X developer API and the hosted X-data MCPs. Both were way too expensive for what I needed.

The Grok CLI already pays for itself. It reads X and the web live. So I wrapped that one capability as an MCP server.

There's a native Claude Code / Grok plugin in the repo too if you prefer slash commands over MCP tools.

On the coding features (review, delegate) - those are mostly redundant with whatever agent you already run. The differentiator is the live X/web data. It's a thin, dependency-free wrapper around your local grok CLI. No tokens stored, read-only. Needs the Grok CLI installed and signed in.

Repo (Apache 2.0): https://github.com/VasiHemanth/grok-mcp

Feedback welcome, especially on whether the tool description makes your agent reach for it at the right time.

reddit.com
u/Extension-Aside29 — 7 days ago