FetchLayer fetchlayer.dev Sign in

+ Integration Guide

How to Connect Twitter MCP to OpenClaw

Add FetchLayer's Twitter/X MCP server to OpenClaw so your AI agent can search tweets, get profiles, and pull follower data directly.

Written by Alex P.

  • MCP
  • OpenClaw
  • twitter scraping
  • X scraping
  • AI agent
  • IDE integration

OpenClaw is an open-source AI coding agent that supports the Model Context Protocol (MCP). You can connect FetchLayer’s Twitter/X MCP server to give OpenClaw access to Twitter data across all 10 endpoints.


Prerequisites


Setup

Add the FetchLayer MCP server to your OpenClaw configuration. OpenClaw uses the standard MCP config format:

{
  "mcpServers": {
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-your-api-key"
      }
    }
  }
}

Replace sk-your-api-key with your key from the FetchLayer dashboard.

Depending on your OpenClaw version, add this to:

  • Your global OpenClaw settings file
  • A project-level .mcp.json or MCP config file

Restart OpenClaw after saving.


Try it out

Once configured, ask your OpenClaw agent:

Search X/Twitter for posts about “self-hosted alternatives to Notion” and show me the top results.

The agent will call FetchLayer’s Twitter search tool and return structured data.

More examples:

  • “What’s @levelsio tweeting about this week?”
  • “Get replies to this tweet: [URL]”
  • “Find verified accounts following @openai”
  • “Get the profile for @rauchg”

Available tools

All 10 FetchLayer Twitter/X endpoints: search, tweet detail, replies, user profiles, user tweets, followers, following, verified followers, and more. See the full endpoint list.


What’s Next