Xquik
Hosted MCP server for X (Twitter) data workflows: tweet search, user lookup, follower exports, media actions, monitors, and webhooks.
Documentation Index
Fetch the complete documentation index at: https://docs.xquik.com/llms.txt Use this file to discover all available pages before exploring further.
Connect AI Agents via MCP
Connect AI agents to Xquik via the Model Context Protocol
For the complete documentation index, see llms.txt.
Xquik runs a Model Context Protocol server that lets AI agents and development tools interact with your Xquik account programmatically.
Connection
HTTP with StreamableHTTP transport for MCP clients. Connect clients to `https://xquik.com/mcp`. Use an API key in `x-api-key` or OAuth 2.1 Bearer tokens.MCP server discovery metadata is available at:
https://xquik.com/.well-known/mcp.json
Authentication
The MCP server supports 2 authentication methods:
- API key (
x-api-keyheader): Used by Claude Code, Cursor, VS Code, Windsurf, Codex CLI, OpenCode, and Claude Desktop. Pass your key during the MCP handshake. - OAuth 2.1 (Bearer token): Used by Claude.ai (web) and ChatGPT Developer Mode. OAuth handles authentication automatically via browser login. No API key needed. See OAuth 2.1 documentation for the complete authorization flow, token lifetimes, and implementation details.
How it works
The MCP server uses a code-execution sandbox model with 2 tools:
Search the API spec. Read-only, no network calls, no credits. Requires MCP authentication to execute. Execute authenticated API calls. Cost follows the endpoint.The AI agent writes async JavaScript arrow functions that run in a sandboxed environment. Auth is injected automatically.
explore tool
Searches the in-memory API endpoint catalog. Free means no usage credits; the call still requires MCP authentication through an API key or OAuth Bearer token. The sandbox provides:
interface EndpointInfo {
method: string;
path: string;
summary: string;
category: string; // account, composition, credits, extraction, media, monitoring, support, twitter, x-accounts, x-write
free: boolean;
parameters?: Array<{ name: string; in: 'query' | 'path' | 'body'; required: boolean; type: string; description: string }>;
responseShape?: string;
}
declare const spec: { endpoints: EndpointInfo[] };
xquik tool
Executes API calls. The sandbox provides:
declare const xquik: {
request(path: string, options?: {
method?: string; // default: 'GET'
body?: unknown;
query?: Record<string, string>;
}): Promise<unknown>;
};
declare const spec: { endpoints: EndpointInfo[] };
The agent writes code like async () => xquik.request('/api/v1/radar') and the server executes it with auth injected.
MCP vs REST API
Both the MCP server and REST API connect to the same backend, use the same data, and share the same billing.
Best for AI agents, IDE integrations, and natural language workflows. Connect to `https://xquik.com/mcp` with `x-api-key` or OAuth 2.1 Bearer auth. Agents use 2 tools: `explore` for spec search and `xquik` for sandboxed API calls. Best for backend services, automation scripts, and direct programmatic access. Call `https://xquik.com/api/v1/*` with an `x-api-key` header. Use 120 individual operations and file download responses for extraction or draw exports.When to use MCP: You're building an AI agent or working in an IDE (Claude Code, Cursor, VS Code, Windsurf) and want the agent to interact with X data through natural language.
When to use REST: You're building a backend service, automation pipeline, or need fine-grained control over API calls, pagination, and file exports.
New to MCP? Start with Claude.ai (zero config, OAuth login) or Claude Code (terminal, most flexible).
Setup
Claude.ai supports MCP connectors natively via OAuth. Add Xquik as a connector from **Settings > Feature Preview > Integrations > Add More > Xquik**. The OAuth 2.1 flow handles authentication automatically. No API key needed. Claude Desktop only supports stdio transport. Use the `mcp-remote` npm package as a bridge (requires [Node.js](https://nodejs.org)). Add to your `claude_desktop_config.json`:```json theme={null}
{
"mcpServers": {
"xquik": {
"command": "npx",
"args": [
"mcp-remote@latest",
"https://xquik.com/mcp",
"--header",
"x-api-key:xq_YOUR_KEY_HERE"
]
}
}
}
```
Add to your `.mcp.json`:
```json theme={null}
{
"mcpServers": {
"xquik": {
"type": "http",
"url": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
```
Add to `~/.codex/config.toml`:
```toml theme={null}
[mcp_servers.xquik]
url = "https://xquik.com/mcp"
http_headers = { "x-api-key" = "xq_YOUR_KEY_HERE" }
```
Add to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):
```json theme={null}
{
"mcpServers": {
"xquik": {
"url": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
```
Add to `.vscode/mcp.json` (project) or use **MCP: Open User Configuration** (global):
```json theme={null}
{
"servers": {
"xquik": {
"type": "http",
"url": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
```
Add to `~/.codeium/windsurf/mcp_config.json`:
```json theme={null}
{
"mcpServers": {
"xquik": {
"serverUrl": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
```
Add to `opencode.json`:
```json theme={null}
{
"mcp": {
"xquik": {
"type": "remote",
"url": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
```
ChatGPT
3 ways to connect ChatGPT to Xquik:
Option 1: Custom GPT (Recommended)
Create a Custom GPT and add Xquik as an Action using the OpenAPI schema at https://xquik.com/openapi.json. Set the API key under Authentication > API Key > Header x-api-key.
Option 2: Agents SDK
Use the OpenAI Agents SDK for programmatic access:
from agents.mcp import MCPServerStreamableHttp
async with MCPServerStreamableHttp(
url="https://xquik.com/mcp",
headers={"x-api-key": "xq_YOUR_KEY_HERE"},
params={},
) as xquik:
# use xquik as a tool provider
pass
Option 3: Developer Mode
ChatGPT Developer Mode supports MCP connectors via OAuth. Add Xquik from Settings > Developer Mode > MCP Tools > Add. Enter https://xquik.com/mcp as the endpoint. OAuth handles authentication automatically.
Example prompts
Once connected, you can ask your AI agent things like:
Monitoring & Events
- "Can you start watching @elonmusk for new tweets and replies?"
- "What accounts am I currently monitoring?"
- "Has anything happened on my monitored accounts today?"
- "Stop tracking @elonmusk, I don't need updates anymore."
Search & Lookup
- "What are people saying about TypeScript on X right now?"
- "Can you find recent tweets from @vercel?"
- "What does this tweet say? https://x.com/elonmusk/status/1893456789012345678"
- "How many likes and retweets does this have? https://x.com/vercel/status/1893704267862470862"
User Profiles & Follows
- "How many followers does @xquikcom have?"
- "What does @openai's bio say?"
- "Does @elonmusk follow @SpaceX back?"
- "Are @vercel and @nextjs following each other?"
Trends
- "What's trending on X right now?"
- "What are the top trending topics in the US?"
- "Is there anything trending about AI today?"
Radar & News
- "What's trending on Hacker News right now?"
- "Show me the top GitHub trending repos today"
- "What are the fastest-growing startups on TrustMRR?"
- "Get me trending topics from Reddit in the last 12 hours"
- "What's popular on Wikipedia right now?"
- "Show me Google Trends for Turkey"
- "Find trending tech news and help me compose a tweet about one"
Extractions
- "Can you pull all the replies to this tweet? https://x.com/elonmusk/status/1893456789012345678"
- "Who retweeted this? https://x.com/vercel/status/1893704267862470862"
- "How much would it cost to extract all followers of @elonmusk?"
- "Get me all the quote tweets on this post: https://x.com/openai/status/1893456789012345678"
- "Can you extract the full thread for this tweet? https://x.com/elonmusk/status/1893704267862470862"
Giveaways
- "Pick 3 random winners from this tweet: https://x.com/xquikcom/status/1893456789012345678"
- "Run a giveaway draw where participants must have retweeted and have at least 100 followers."
- "Show me the results of my last giveaway draw."
Webhooks
- "Can you set up a webhook at https://my-server.com/events for new tweets?"
- "What webhook endpoints do I have configured?"
- "Remove the webhook pointing to my old server."
Tweet Composition
- "Help me write a tweet about launching my new product"
- "I want it casual and optimized for engagement"
- "Score this draft: Just shipped v2.0 of our API. What do you think?"
- "How can I improve this tweet to get more replies?"
Style Analysis & Drafts
- "Analyze how @elonmusk tweets"
- "Compare @vercel and @nextjs tweeting styles"
- "How are my cached tweets performing?"
- "Save this tweet draft for later"
- "Show me all my saved drafts"
- "Set my X account to @myusername"
X Write Actions
- "Post a tweet saying: Just shipped v2.0!"
- "Like this tweet: https://x.com/vercel/status/1893704267862470862"
- "Retweet this: https://x.com/openai/status/1893456789012345678"
- "Follow @vercel from my connected account"
- "Send a DM to user ID 44196397 saying hello"
- "Upload this image and tweet it with the caption: New feature!"
Account & Usage
- "What plan am I on and how much have I used this month?"
- "Do I have enough budget left to run a large extraction?"
Framework guides
Build agents with Xquik's MCP tools in your preferred framework:
Python agents with LangChain + LangGraph Multi-agent crews with CrewAI Type-safe agents with Pydantic AI Multi-agent assistants with Google ADK TypeScript agents with Mastra Python agents with Microsoft Agent Framework Replace Composio's deprecated Twitter MCPAI agent skill
The Xquik Skill gives AI coding agents deep knowledge of the Xquik API without requiring an MCP connection. Install it to let your agent write API integrations, set up webhooks, and configure MCP connections using Xquik best practices.
Works with 40+ AI coding agents including Claude Code, Cursor, GitHub Copilot, Codex, Windsurf, VS Code, Gemini CLI, and more. The skill covers MCP tools and 120 REST API operations.
npx skills add Xquik-dev/x-twitter-scraper
Verwandte Server
Bright Data
SponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Selenium MCP Server
Control web browsers using the Selenium WebDriver for automation and testing.
Trends Hub
Aggregates trending topics from over 20 sources in real-time, with customizable fields and RSS feed support.
yt-dlp
Download video and audio content from various websites like YouTube, Facebook, and Tiktok using yt-dlp.
YouTube Video Summarizer MCP
Fetch and summarize YouTube videos by extracting titles, descriptions, and transcripts.
webcheck-mcp
Website health checker MCP server - SEO audit, accessibility scan, broken link detection, performance analysis, and page comparison.
Skyvern
AI-powered browser automation MCP server — navigate sites, fill forms, extract data, and handle logins via Claude Code CLI
KonbiniAPI
KonbiniAPI gives AI agents direct access to social media data — profiles, posts, videos, comments, and search results.
BrowserCat
Automate remote browsers using the BrowserCat API.
MCP Image Downloader
A server for downloading and optimizing images from the web.
Oxylabs AI Studio
AI-powered tools for web scraping, crawling, and browser automation.