Skip to content
MCP server

Xflux

X/Twitter read API for agents: search, timelines, Smart Money. Claude/Cursor MCP. Not…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.2.1
Listing updated
4 days ago

About Xflux

Xflux is an open-source MCP server. It runs locally on your machine and is started by your AI client.

X/Twitter read API for agents: search, timelines, Smart Money. Claude/Cursor MCP. Not for posting.

Install

Run in a terminal

claude mcp add xflux --env XFLUX_API_KEY='<XFLUX_API_KEY>' -- npx -y @xflux/xflux-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xflux": {
      "command": "npx",
      "args": [
        "-y",
        "@xflux/xflux-mcp-server"
      ],
      "env": {
        "XFLUX_API_KEY": "<XFLUX_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xflux": {
      "command": "npx",
      "args": [
        "-y",
        "@xflux/xflux-mcp-server"
      ],
      "env": {
        "XFLUX_API_KEY": "<XFLUX_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xflux": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xflux/xflux-mcp-server"
      ],
      "env": {
        "XFLUX_API_KEY": "<XFLUX_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "xflux": {
      "command": "npx",
      "args": [
        "-y",
        "@xflux/xflux-mcp-server"
      ],
      "env": {
        "XFLUX_API_KEY": "<XFLUX_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "xflux": {
      "command": "npx",
      "args": [
        "-y",
        "@xflux/xflux-mcp-server"
      ],
      "env": {
        "XFLUX_API_KEY": "<XFLUX_API_KEY>"
      }
    }
  }
}

Configuration

  • XFLUX_API_KEYAPI key from https://www.xfluxapi.com/dashboard/api-keys (free tier available)Required
  • XFLUX_API_BASEOptional API base URL (default https://www.xfluxapi.com/api/v1)

Pricing

Open source

Xflux FAQ

Is Xflux free?

Yes. Xflux is open source, so you can use and self-host it for free.

How do I add Xflux to Claude Code?

Run this command in your terminal: claude mcp add xflux --env XFLUX_API_KEY='<XFLUX_API_KEY>' -- npx -y @xflux/xflux-mcp-server