MCP 服务器

xdataapi: X (Twitter) data

io.xdataapi/xdataapi
数据与分析 搜索与研究 社交媒体 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Reads public X data including profiles, tweets, threads, replies, followers, following, retweeters, quotes, and search results.

get_balance
Balance
Credits left on this key and its rate limit. Free.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get_follower_ids
Follower ids
Numeric ids of the followers of a user, no profiles. 0.02 credit per id. Same page as get_followers, so a page read there is a cache hit here. A 403 is free.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user'], 'properties': {'user': {'type': 'string', 'maxLength': 30, 'minLength': 1, 'description': 'Handle (with or without @) or numeric user id'}, 'count': {'type': 'integer', 'maximum': 200, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_followers
Followers
Followers of a user. 0.1 credit per profile. Not every account tier can read this; a 403 is free.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user'], 'properties': {'user': {'type': 'string', 'maxLength': 30, 'minLength': 1, 'description': 'Handle (with or without @) or numeric user id'}, 'count': {'type': 'integer', 'maximum': 200, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_following
Following
Accounts a user follows. 0.1 credit per profile. Not every account tier can read this; a 403 is free.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user'], 'properties': {'user': {'type': 'string', 'maxLength': 30, 'minLength': 1, 'description': 'Handle (with or without @) or numeric user id'}, 'count': {'type': 'integer', 'maximum': 200, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_quotes
Quotes
Tweets that quote a tweet, newest first. 1 credit per tweet.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'count': {'type': 'integer', 'maximum': 50, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_replies
Replies
Direct replies to a tweet, one page. 1 credit per reply.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_retweeters
Retweeters
Accounts that retweeted a tweet. 0.5 credit per profile. Not every account tier can read this; a 403 is free.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'count': {'type': 'integer', 'maximum': 200, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_thread
Thread
A tweet with its thread and replies; the focal tweet comes first. 1 credit per tweet returned.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
get_tweet
Tweet
One tweet by numeric id, with its author. 1 credit.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}}}
get_tweets
Tweets, batch
Up to 100 tweets by numeric id in one call. 1 credit per tweet found.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ids'], 'properties': {'ids': {'type': 'array', 'items': {'type': 'string', 'pattern': '^\\d{1,25}$'}, 'maxItems': 100, 'minItems': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}}}
get_user
Profile
Profile of one X user by handle. 1 credit.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['handle'], 'properties': {'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'handle': {'type': 'string', 'maxLength': 16, 'minLength': 1, 'description': 'Handle, with or without @'}}}
get_users
Profiles, batch
Profiles of up to 100 X users by handle in one call. 1 credit per profile found.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['handles'], 'properties': {'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'handles': {'type': 'array', 'items': {'type': 'string', 'maxLength': 16, 'minLength': 1}, 'maxItems': 100, 'minItems': 1}}}
get_user_tweets
User tweets
Latest tweets of a user, newest first. 1 credit per tweet.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user'], 'properties': {'user': {'type': 'string', 'maxLength': 30, 'minLength': 1, 'description': 'Handle (with or without @) or numeric user id'}, 'count': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size, 1 to 100'}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}}}
search_tweets
Search
X advanced search. q takes the x.com operators. 1 credit per tweet or profile. product Latest is always available; Top may answer 403 (free).
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['q'], 'properties': {'q': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'Query with x.com operators, e.g. "from:x since:2026-09-01 -filter:replies"'}, 'count': {'type': 'integer', 'maximum': 50, 'minimum': 1}, 'fresh': {'type': 'boolean', 'description': 'Bypass the cache. Costs 2x credits.'}, 'cursor': {'type': 'string', 'description': 'next_cursor from the previous page'}, 'product': {'enum': ['Latest', 'Top', 'People', 'Photos', 'Videos'], 'type': 'string', 'description': 'Default Latest. People returns profiles.'}}}
已添加
get_balance
2026年9月25日 02:40
已添加
get_retweeters
2026年9月25日 02:40
已添加
get_quotes
2026年9月25日 02:40
已添加
get_replies
2026年9月25日 02:40
已添加
get_thread
2026年9月25日 02:40
已添加
get_tweets
2026年9月25日 02:40
已添加
get_tweet
2026年9月25日 02:40
已添加
search_tweets
2026年9月25日 02:40
已添加
get_following
2026年9月25日 02:40
已添加
get_follower_ids
2026年9月25日 02:40
已添加
get_followers
2026年9月25日 02:40
已添加
get_user_tweets
2026年9月25日 02:40
已添加
get_users
2026年9月25日 02:40
已添加
get_user
2026年9月25日 02:40