search_xSearch public posts, accounts, and trend pages.
MCP SERVER
Connect with the same API key used for REST. MCP calls share your balance, pricing, account pool, and request history.
Paste this configuration into an MCP-compatible client, then replace the placeholder with your customer API key.
Get an API key{
"mcpServers": {
"twitterxapi": {
"type": "http",
"url": "https://twitterxapi.com/api/mcp",
"headers": {
"Authorization": "Bearer tx_live_..."
}
}
}
}search_xSearch public posts, accounts, and trend pages.
get_x_userRead a profile by username or ID, including its About data.
get_x_user_timelineFetch an account's posts, replies, or media.
get_x_user_networkPage through followers, following, and subscriptions.
get_x_postRead post details, replies, threads, and retweeters.
get_x_listFetch posts or members from a public list.
get_x_trendsRead category-based trend pages.
get_x_communityRead community information, posts, members, and moderators.
COLLECTIONS
Collection tools return one upstream page per call. Use the continuation cursor to chain requests without guessing where the next page begins.
Tool text uses compact Contentful JSON to keep model context small. structuredContent.data carries the Moderate form, including IDs and cursors, for reliable follow-up calls.
Raw X responses and queued exports stay on the REST API and are not exposed through MCP.