# Twitter Post Scraper MCP Server — Claude, Cursor | Scrapier (https://scrapier.io/scrapers/x-twitter/posts/mcp/)

> Scrapier's Twitter Post Scraper MCP server gives Claude, Cursor and any MCP client X posts as JSON. One command connects it. 1 credit per call. 1 credit per ...

Last updated: 2026-11-11

**GET**/api/v2/twitter-post/

## Twitter Post Scraper _MCP Server_

Give Claude, Cursor and ChatGPT a tool for any public X (Twitter) page of posts. One command connects it; every call returns typed JSON. 1 credit per page of posts.

[Get a free API key →](https://app.scrapier.io/sign-up) [Jump to setup](#setup)

Free API key · 1 credit per page of posts · failed calls free

Last updated 9 Nov 2026

Live agent run

Copy for your AI agent

Install

## Connect in one command

Quick answerScrapier's MCP server gives **Claude, Cursor and any MCP client** tools for public X (Twitter) pages of posts, returned as JSON. One command connects it. Each call costs 1 credit.

terminal

claude mcp add -t http scrapier \\
  https://mcp.scrapier.io/mcp \\
  --header "X-API-Key: YOUR\_API\_KEY"

Then ask: _"Get the X (Twitter) page of posts for elonmusk"_

Connect

## Custom connector

Connect any client that supports remote MCP with one URL and your API key.

### Custom connector

Any MCP client

Paste one URL into any client that supports remote MCP and send your Scrapier API key in an `X-API-Key` header.

`https://mcp.scrapier.io/mcp`

Where to paste it

- **Claude**Settings → Connectors → Add
- **ChatGPT**Settings → Apps → Developer mode → Create
- **Cursor**Settings → MCP → Add new server

[Step-by-step setup ↓](#setup)

Setup

## Setup in Claude, Cursor, Windsurf and ChatGPT

Pick your client. Three steps, under a minute.

1. Get a free API key from your Scrapier dashboard.
2. Run the command below in your terminal.
3. Restart Claude Code and run `/mcp` to see the tools.

terminal

claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR\_API\_KEY"

claude · ~/project

**›** /mcp

Manage MCP servers

● scrapier · connected · 6 tools

└ search\_endpoints

└ run\_scrape

└ …4 more

**›**

### Verify the connection

Ask **"List your X (Twitter) tools"**. The agent should find `run_scrape` and `search_endpoints`.

Tools

## X (Twitter) MCP Tools

Use `search_endpoints` to discover, `run_scrape` to call.

| Tool | Returns | Inputs | Key fields | Credits |
| --- | --- | --- | --- | --- |
| `run_scrape` | Run the page of posts scraper | `endpoint="twitter-post", usernames="..."` | biography, bookmarks, date\_posted, description, external\_url | 1 |

### Output fields

run\_scrape · 200 OK

{
  "success": true,
  "data": {
    "usernames": "https://x.com/elonmusk/status/1585341984679469056",
    "page": 1,
    "page\_size": 1,
    "tweets": \[
      {
        "biography": "",
        "bookmarks": 16000,
        "date\_posted": "2022-10-26T18:45:58.000Z",
        "description": "Entering Twitter HQ – let that sink in! https://t.co/D68z4K2wq7",
        "external\_url": null,
        "followers": 241733278,
        "following": 1300,
        "hashtags": null,
        "id": "1585341984679469056",
        "input": {
          "url": "https://x.com/elonmusk/status/1585341984679469056/"
        },
        "is\_verified": true,
        "likes": 1221559,
        "name": "Elon Musk",
        "photos": null,
        "posts\_count": 98000,
        "profile\_image\_link": "https://pbs.twimg.com/profile\_images/example\_normal.jpg",
        "quoted\_post": {
          "date\_posted": null,
          "description": null,
          "post\_id": null,
          "profile\_id": null,
          "profile\_name": null,
          "url": null,
          "videos": null
        },
        "quotes": 70000,
        "replies": 160000,
        "reposts": 200000,
        "tagged\_users": null,
        "url": "https://x.com/elonmusk/status/1585341984679469056",
        "user\_posted": "elonmusk",
        "videos": \[
          "https://video.twimg.com/ext\_tw\_video/1585341912877146112/pu/vid/1920x1080/example.mp4?tag=14"
        \],
        "views": null,
        "input\_username": "https://x.com/elonmusk/status/1585341984679469056"
      }
    \],
    "next\_cursor": null
  }
}

Examples

## Example Prompts and Tool Calls

The prompt, the tool call, the JSON and the answer.

### Get page of posts data

Get the page of posts data for elonmusk.

### ⚙ run\_scrape(endpoint="twitter-post", usernames="elonmusk")

run\_scrape(endpoint="twitter-post", usernames="elonmusk")

{
  "biography": "",
  "bookmarks": 16000,
  "date\_posted": "2022-10-26T18:45:58.000Z",
  "description": "Entering Twitter HQ – let that sink in! https://t.co/D68z4K2wq7"
}

Here are the page of posts details from the Scrapier API.

Workflows

## Agent Workflows

### X (Twitter) data pipeline

1. input list
2. run\_scrape
3. filter results
4. export

Feed a list, pull each page of posts, filter by criteria, export the result.

Compare

## X (Twitter) Scraper MCP vs the Official X (Twitter) MCP

|  | Scrapier X (Twitter) MCPThis page | Official X (Twitter) API | Apify actor over MCP |
| --- | --- | --- | --- |
| Data returned | Any public page of posts, typed JSON | Your own accounts and insights | Varies by actor |
| Auth needed | One Scrapier key | X (Twitter) app + business account | Apify token |
| Cost model | 1 credit per call | Free once approved | Compute units per run |
| Rate limits | 3 parallel per key | Per-user hourly quota | Per actor |
| Best for | Research, enrichment, monitoring | Own-account analytics | Custom one-off crawls |

### Limits

- Public data only — private pages of posts return identity fields only
- Counts are live at call time; no history unless you store it

Billing

## Credits, Rate Limits and Security

Credits per call**1**

Parallel requests**3 per key**

Auth**One Scrapier key, no X (Twitter) login**

- Your key stays in your client config, never in prompts
- No X (Twitter) account or cookies are used
- Failed calls cost 0 credits
- Rotate or revoke keys any time from the dashboard

[See full pricing →](https://scrapier.io/pricing/)

Troubleshooting

## Troubleshooting

### Tools not showing

Restart the client after editing its config. In Claude Code run /mcp; in Cursor check the server toggle is on.

### 401 invalid key

The key is missing or mistyped. Copy it again from the dashboard.

### 429 rate limit

You exceeded your plan's parallel requests. The agent should wait for Retry-After.

### Timeout on large requests

Batch in smaller groups, or raise the client timeout to 210 seconds.

FAQ

## Frequently Asked Questions

### Is there a X (Twitter) scraper MCP server?

Yes. Scrapier's MCP server exposes X (Twitter) page of posts tools to Claude, Cursor, Windsurf and ChatGPT. One command connects it and every call returns typed JSON.

### How do I scrape X (Twitter) pages of posts with Claude?

Run \<code>claude mcp add -t http scrapier https://mcp.scrapier.io/mcp\</code> with your API key, then ask Claude for any public page of posts. It calls \<code>run\_scrape\</code> and reads the JSON directly.

### Does it need a X (Twitter) login?

No. The server reads public data only and uses no X (Twitter) account or cookies.

### How much does a X (Twitter) MCP call cost?

1 credit per call — about $1.58 per 1,000 pages of posts on the Pro plan. Failed calls are free.

### Can ChatGPT use the X (Twitter) scraper?

Yes. Add Scrapier as a custom connector in ChatGPT's developer mode and the same tools appear in chat.

More servers

## Related MCP Servers

[### X/Twitter Video Transcript MCP

transcript →](https://scrapier.io/scrapers/x-twitter/transcript/mcp/)[### Twitter/X Profile Tweets MCP

profile-tweets →](https://scrapier.io/scrapers/x-twitter/profile-tweets/mcp/)[### All X (Twitter) scrapers

6 endpoints →](https://scrapier.io/scrapers/x-twitter/)

## Give your agent X (Twitter) data

1 tool · JSON · one key

[Get a free API key →](https://app.scrapier.io/sign-up)[See pricing](https://scrapier.io/pricing/)

---
Canonical page: https://scrapier.io/scrapers/x-twitter/posts/mcp/
Site index for AI agents: https://scrapier.io/llms.txt
