MCP Server Studio

Xflux MCP server

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

Registry name: io.github.yxs1640-png/xflux

Publisher
yxs1640-png
Runs
Runs locally
Package
npm
Version
1.2.1
Category
AI & agents
Updated
2026-10-08

Source code on GitHub

Set up Xflux (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add xflux -e XFLUX_API_KEY='<XFLUX_API_KEY>' -e XFLUX_API_BASE='<XFLUX_API_BASE>' -- npx -y @xflux/[email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

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

Windsurf

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

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

Settings

NameRequiredWhat it is
XFLUX_API_KEYYesAPI key from https://www.xfluxapi.com/dashboard/api-keys (free tier available)
XFLUX_API_BASENoOptional API base URL (default https://www.xfluxapi.com/api/v1)

More ai & agents MCP servers