Skip to content
MCP server

TwexAPI

Remote MCP server for searching X posts and reading profiles, trends and threads

Install
Pricing
Freemium
Platforms
API
Runs
Remotely
Version
1.1.1
Listing updated
2 days ago

About TwexAPI

TwexAPI is a freemium MCP server for web search and scraping. It runs as a hosted remote server, so there is nothing to install locally.

Access runs through a TwexAPI account: you sign in with OAuth 2.1 (email or Google) or send an API key, and every call draws down prepaid credits. Read access is always granted; posting tweets and replies is a separate checkbox on the consent page, and clients such as Claude ask for confirmation before each write.

The server keeps its surface small. An explore tool searches the endpoint catalogue for free, and two generic tools then call what it finds: one for read-only endpoints (search, profiles, followers, replies, communities, lists, trends) and one for writes. Likes, follows and direct messages are not exposed over MCP and stay in the REST API.

A separate endpoint, /mcp/pay, accepts anonymous requests and answers eligible calls with a Machine Payments Protocol challenge. A second docs MCP server at docs.twexapi.io/mcp lets an agent search the documentation without signing in.

Install

Run in a terminal

claude mcp add --transport http mcp https://api.twexapi.io/mcp

Add to Settings → Connectors → Add custom connector

https://api.twexapi.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.twexapi.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.twexapi.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.twexapi.io/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.twexapi.io/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

explore
Searches the endpoint catalogue and returns methods, paths, parameters and examples; uses no credits.
twexapi_request
Calls a read-only endpoint such as search, profiles, followers, replies, communities, lists and trends.
twexapi_write
Calls a write endpoint; today this posts a tweet or reply.

What it does

Free endpoint discovery
The explore tool searches the endpoint catalogue and returns methods, paths and examples without using credits.
Read-only request tool
twexapi_request calls search, profile, follower, reply, community, list and trend endpoints.
Optional write access
Posting a tweet or reply is behind a consent checkbox and needs your own X account cookie.
OAuth or API key
Clients sign in with OAuth 2.1, or scripts send x-api-key or a Bearer token.
Pay per call option
The /mcp/pay endpoint takes anonymous calls paid through the Machine Payments Protocol.
Revocable app access
Each connected client appears under Authorized apps in the dashboard and can be revoked.

Good for

  • Search recent X posts on a topic and summarise them with author and engagement figures
  • Pull a user's profile, followers and following for research
  • Read a reply thread or quote chain around a tweet
  • Check trending topics for a country
  • Post a reply from an agent after you approve it

Pricing

Freemium, from $20 a month

20,000 free credits for new accounts; reads about 5 credits each; paid packs from $10 one-time, subscriptions from $20/month

Prices change. Check docs.twexapi.io before you buy.

TwexAPI FAQ

How do I connect it?

Add https://api.twexapi.io/mcp as a remote Streamable HTTP server and sign in when the client opens the browser. Scripts can send an API key instead.

Can it post to X?

Yes, through twexapi_write, but only if you leave the write checkbox selected when approving. Posting needs your own X account cookie.

What does a call cost?

Calls use TwexAPI credits. The pricing page lists about 5 credits per post or profile read, with 20,000 free credits for new accounts.

What happens when credits run out?

The connection stays up and explore still works, but tool calls return a message to top up.

Is TwexAPI free?

TwexAPI has a free plan, with paid plans for more usage or features. Paid plans start at $20 a month.

How do I add TwexAPI to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://api.twexapi.io/mcp

What are the best alternatives to TwexAPI?

The closest alternatives to TwexAPI are Scrapling MCP Server, Firecrawl MCP Server, Google Ads + Meta Ads + SEO/GEO MCP, SearXNG Search and Calven.

Alternatives to TwexAPI

  1. MCP server for AI clients to scrape sites with HTTP and stealth browser sessions

    Runs locally
    • 17 tools
    • Open source
    • 104K GitHub stars
    • Web search and scraping
  2. MCP server that lets AI agents search, scrape and interact with web pages

    • 3 tools
    • Remote
    • Freemium
    • 7.8K GitHub stars
    • Web search and scraping
  3. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  4. SearXNG Search

    MCP server

    MCP server for web search and page reading through a SearXNG instance

    Runs locally
    • 3 tools
    • Open source
    • 1.4K GitHub stars
    • Web search and scraping
  5. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  6. NeuralVerge

    MCP server

    Structured, source-tagged business and people data from 300+ sources for agents

    • 200 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Web search and scraping