TwitterViewer AI
MCP server for AI agents

TwitterViewer MCP Server

Claude, Cursor or Codex can open public posts on X and receive them as Markdown. Plus covers the connection, and each post uses one credit.

API, MCP and CLI come with Plus, from $5 a month billed yearly · 1 credit = 1 post

Connect the TwitterViewer MCP Server

Copy the snippet that matches your client. The transport is Streamable HTTP.

MCP server URLhttps://twitterviewer.ai/mcp
claude mcp add --transport http twitterviewer https://twitterviewer.ai/mcp
Use an API key instead

Place the key in the Authorization header. This suits headless machines and build jobs.

claude mcp add --transport http twitterviewer https://twitterviewer.ai/mcp \
  --header "Authorization: Bearer $TWITTERVIEWER_API_KEY"
{
  "mcpServers": {
    "twitterviewer": { "url": "https://twitterviewer.ai/mcp" }
  }
}
Use an API key instead

Place the key in the Authorization header. This suits headless machines and build jobs.

{
  "mcpServers": {
    "twitterviewer": {
      "url": "https://twitterviewer.ai/mcp",
      "headers": { "Authorization": "Bearer ${env:TWITTERVIEWER_API_KEY}" }
    }
  }
}
[mcp_servers.twitterviewer]
url = "https://twitterviewer.ai/mcp"
Use an API key instead

Place the key in the Authorization header. This suits headless machines and build jobs.

[mcp_servers.twitterviewer]
url = "https://twitterviewer.ai/mcp"
bearer_token_env_var = "TWITTERVIEWER_API_KEY"
In Claude, open Settings, choose Connectors, add a custom one and enter the address above.

On first use, a sign-in page for your Plus account appears in the browser. A Bearer key skips that step.


What is the TwitterViewer MCP Server for?

The TwitterViewer MCP Server lets a chat assistant open X posts while you talk to it. We host it for you. Its three tools convert links, fetch answers and report your balance, and none of them writes anything. Connect with a Plus login or key; X requires no application.

How to add the TwitterViewer MCP Server

  1. Register the address

    In Claude Code, run claude mcp add --transport http twitterviewer https://twitterviewer.ai/mcp. Cursor takes the URL in mcp.json, Codex in a server block and Claude as a custom connector.

  2. Authorize access

    Complete the browser sign-in for your account on this site. Headless machines send an API key in the Authorization header instead.

  3. Give a task

    Paste a link and ask for a summary of the thread, recent posts from a handle or the reactions under an announcement. The tools start from a link or a handle, so keyword lookups are not part of the server.

  4. Check spending

    Tool results report credits used and left, and get_credits shows the balance on demand.

Tools and arguments

convert_x_url
url, scope, format, stats and max
get_x_replies
url of a post, plus max from 1 to 100
get_credits
No arguments and no charge
Output formats
Conversion offers four styles, JSON among them; answers arrive as Markdown

How it works

  • Hosted over HTTP

    Your client talks to one remote endpoint using Streamable HTTP, so there is no local server to run or update. Errors come back as tool results that the model can read and explain.

  • Cannot change anything

    All three tools are annotated as read-only. None can publish or follow, and the server never receives X credentials. Spending is bounded by your credit balance.

  • Shares account limits

    One balance pays for this server and the TwitterViewer API. Requests from connected clients count toward the 30 a minute that Plus allows. A post costs one credit, a quoted post adds one, and Pricing lists what each plan includes.

FAQs

Tap any question to see its reply.

Is a key required for MCP?

No, interactive clients can connect through a browser sign-in without a key, using a Plus account. A key is useful on servers, in CI and in clients that cannot open a browser, and each account holds two.

Which scope should my agent use?

Agents should use post when one message is enough, thread for the author's full argument and conversation when reactions matter. Thread is the default. Smaller scopes return fewer posts and cost less. People can follow the same chain in the Twitter Thread Reader.

How can I stop an agent from spending too much?

Set a low max for profiles and reply lists, because both bill each result. Instruct the agent to reuse Markdown it already has. An identical call inside 10 minutes returns the earlier result for free, while a different link or limit is billed.

Can I test the output before connecting?

Yes, paste a link into X to Markdown to see the kind of document convert_x_url returns. The Twitter Viewer tabs let you check that an account or post is public.

Does X run this server?

No, the server is an independent TwitterViewer AI service with no affiliation to X Corp. The API Docs cover its authentication and tool arguments.