WEIR

Reddit and X Data in Cursor via MCP

Get Reddit and X data in Cursor via MCP: the mcp.json config for a remote server, OAuth sign-in, using it from Agent, real developer tasks, and costs.

By Tarun Khatri · · 6 min read

To get Reddit and X data in Cursor via MCP, add Weir's remote server (https://api.weirapp.io/mcp) to mcp.json, sign in once when Cursor asks, and Agent can search Reddit and X while you code. It's useful when the answer to a development question lives in what people are saying rather than in the docs: which library's webhooks keep failing, what users ask for in a feature, how a breaking change landed. This guide covers the config, sign-in, the dev workflows it suits, and what they cost.

Weir is our product. It reads public data only and isn't affiliated with Reddit or X.

What developers use it for

  • Check a dependency before you adopt it. "Search r/node and r/webdev for complaints about Prisma migrations in the last year, then summarise the top three failure modes with links." Agent calls search_reddit with subreddits: ["node", "webdev"] and time: "year", then get_reddit_comments on the most-discussed thread.
  • Turn user feedback into a spec. "Read this Reddit thread and the replies, group the feature requests, and write them to docs/specs/export.md as user stories with a link to each source comment." That's get_reddit_post plus get_reddit_comments with sort: "top", and Agent writes the file.
  • Triage a bug someone reported on X. "Read this X thread, extract the reproduction steps people posted, and draft a failing test." That's get_x_thread, then get_x_replies.
  • Gauge a breaking change. "What are people on X saying about the React 19 upgrade? Only posts with 50+ likes, in English." That's search_x with minLikes: 50 and language: "en".
  • Build against real response shapes. If you're writing code that consumes Weir itself, ask Agent to call search_reddit with limit: 3 and save the trimmed JSON as a test fixture. It's real data, so strip usernames before you commit it.

Add Weir to mcp.json

Cursor reads ~/.cursor/mcp.json for servers available in every project, and .cursor/mcp.json for one project (Cursor MCP docs). A remote server only needs a url:

{
  "mcpServers": {
    "weir": {
      "url": "https://api.weirapp.io/mcp"
    }
  }
}

Cursor supports Streamable HTTP, the transport Weir uses, and "supports OAuth for servers that require it". You can also manage servers from the Customize page in the sidebar, where each one has an on/off toggle.

Put the entry in the project file if teammates should get it too. The file holds only the URL and no secrets, so it's safe to commit. Everyone signs in with their own Weir account.

Sign in

On first connection Cursor shows that Weir needs authentication. Click to sign in, and a browser opens on Weir's consent screen: sign in, review and approve. Cursor registers itself with Weir automatically. Weir supports dynamic client registration, so you don't need the static auth block Cursor documents for providers that require a fixed client ID.

Don't add an API key header. Cursor's docs show headers with ${env:...} interpolation for servers that take a key. With Weir, though, Cursor ignores an Authorization header while the server offers OAuth, so a key in this file does nothing (Weir's coding agent docs). Sign in instead.

Cursor CLI

The CLI "uses the same configuration as the editor" (Cursor CLI MCP docs). To check the server and sign in from a terminal:

agent mcp list
agent mcp login weir
agent mcp list-tools weir

Using it from Agent

Cursor "automatically uses MCP tools listed under Available Tools when relevant", and that includes Plan Mode. You can also name the tool: "use Weir's search_reddit". By default Cursor asks before each MCP call, and you can expand the call to see its arguments before approving. That's worth doing at first, because the arguments decide what you pay.

Once you trust the read tools, Cursor's run modes let allowlisted MCP calls run without a prompt. In Auto-review, allowlisted calls run immediately and everything else goes through a classifier. In Allowlist mode, only listed actions skip approval. Weir's data tools only read, so allowlisting them is low-risk. What it does change is that spending stops being visible call by call.

To keep costs predictable, add a short project rule:

When using Weir tools: start with limit 5-10, put filters (subreddit, time, minLikes,
language, since) in the call rather than filtering afterwards, and never retry a 402.

How auth works

Weir uses OAuth 2.1 for Cursor. The token can read Reddit and X, see your usage and read your monitors. Creating monitors or webhooks is a separate opt-in on the consent screen. The connection shows up under API keys as a (MCP) entry, and revoking it there disconnects Cursor. For scripts and CI outside Cursor, call the REST API (https://api.weirapp.io/v1/...) with a key as Authorization: Bearer weir_live_....

What it costs

Each call costs 1 credit plus a per-result rate. Failed calls are free.

Dev task Calls Credits
Dependency check (10 posts, 1 thread) search_reddit (1 + 3 x 10) + get_reddit_comments (1 + 3 x 20) 92
Feedback thread to spec (1 post, 50 comments) get_reddit_post (4) + get_reddit_comments (1 + 3 x 50) 155
X bug thread (20 posts in thread, 20 replies) get_x_thread + get_x_replies (1 + 1 per post each) about 42
Breaking-change pulse (20 posts) search_x (1 + 20) 21

Reddit costs more per result than X: 3 credits a post or comment, against 1 for an X post. The free tier gives 5,000 credits a month. Packs start at $5 for 25,000 credits, as of October 2026, so a 155-credit spec task costs about 3 cents. See pricing.

Troubleshooting

  • Weir shows an error in Customize. Open the Output panel (Ctrl+Shift+U / Cmd+Shift+U) and choose MCP Logs to see connection and auth errors. Check the URL is exactly https://api.weirapp.io/mcp.
  • You added a key and it's ignored. Expected with Weir. Remove the headers block and sign in.
  • Agent never calls Weir. Check the server is switched on in Customize and its tools appear under Available Tools, or name the tool in your prompt.
  • Weir is blocked on a company plan. Enterprise admins control MCP through an allowlist in team settings. Remote servers need a URL entry that matches https://api.weirapp.io/mcp. Ask your admin.
  • A tool returns 402. You're out of credits, and retrying won't change that. Add credits at Billing or wait for next month's grant.

FAQ

Does this work with Cursor's cloud agents? Cursor's docs say team MCP servers configured in the dashboard are available to Cloud Agents. We haven't tested Weir there, so start in the editor.

Can Agent post replies on Reddit or X? No. Weir is read-only.

Why use MCP instead of asking Agent to fetch pages? The tools return structured fields (score, numComments, likeCount, createdAt) and cursors for paging, so Agent can filter, sort and cite without parsing HTML. Each call's cost is also known before it runs.

Which other editors work? VS Code, Devin Desktop, Zed, Cline and others are in Weir's coding agent docs. For chat apps, see Claude and ChatGPT.

Next steps

Sign up free, paste the config above, sign in, and ask Agent "What's my Weir usage?" (a free call). For alternatives such as X's own MCP server and local Reddit servers, see this comparison.

Sources