xdataapi: X (Twitter) data

Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.

我该使用它吗

质量与安全性

A
描述质量
91%
模式完整度
89%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(3)

  • LOWTool 'get_tweet' description lacks action verb在 get_tweet 中
  • LOWTool 'get_replies' description lacks action verb在 get_replies 中
  • LOWTool 'get_balance' description lacks action verb在 get_balance 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,121token 数(工具定义)
~1.0 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.66%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "xdataapi": {
      "url": "https://api.xdataapi.io/mcp"
    }
  }
}

远程端点

https://api.xdataapi.io/mcpstreamable-http

它能做什么

工具清单

工具(14)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_user(handle, fresh)

Profile of one X user by handle. 1 credit.

输入模式

{
  "type": "object",
  "properties": {
    "handle": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16,
      "description": "Handle, with or without @"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "handle"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_users(handles, fresh)

Profiles of up to 100 X users by handle in one call. 1 credit per profile found.

输入模式

{
  "type": "object",
  "properties": {
    "handles": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 16
      }
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "handles"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_user_tweets(user, count, cursor, fresh)

Latest tweets of a user, newest first. 1 credit per tweet.

输入模式

{
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Handle (with or without @) or numeric user id"
    },
    "count": {
      "description": "Page size, 1 to 100",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "user"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_followers(user, count, cursor, fresh)

Followers of a user. 0.1 credit per profile. Not every account tier can read this; a 403 is free.

输入模式

{
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Handle (with or without @) or numeric user id"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "user"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_follower_ids(user, count, cursor, fresh)

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",
  "properties": {
    "user": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Handle (with or without @) or numeric user id"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "user"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_following(user, count, cursor, fresh)

Accounts a user follows. 0.1 credit per profile. Not every account tier can read this; a 403 is free.

输入模式

{
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Handle (with or without @) or numeric user id"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "user"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_tweets(q, product, count, cursor, fresh)

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",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Query with x.com operators, e.g. \"from:x since:2026-09-01 -filter:replies\""
    },
    "product": {
      "description": "Default Latest. People returns profiles.",
      "type": "string",
      "enum": [
        "Latest",
        "Top",
        "People",
        "Photos",
        "Videos"
      ]
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "q"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_tweet(id, fresh)

One tweet by numeric id, with its author. 1 credit.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^\\d{1,25}$"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_tweets(ids, fresh)

Up to 100 tweets by numeric id in one call. 1 credit per tweet found.

输入模式

{
  "type": "object",
  "properties": {
    "ids": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{1,25}$"
      }
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "ids"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_thread(id, cursor, fresh)

A tweet with its thread and replies; the focal tweet comes first. 1 credit per tweet returned.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^\\d{1,25}$"
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_replies(id, cursor, fresh)

Direct replies to a tweet, one page. 1 credit per reply.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^\\d{1,25}$"
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_quotes(id, count, cursor, fresh)

Tweets that quote a tweet, newest first. 1 credit per tweet.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^\\d{1,25}$"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_retweeters(id, count, cursor, fresh)

Accounts that retweeted a tweet. 0.5 credit per profile. Not every account tier can read this; a 403 is free.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^\\d{1,25}$"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "cursor": {
      "description": "next_cursor from the previous page",
      "type": "string"
    },
    "fresh": {
      "description": "Bypass the cache. Costs 2x credits.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_balance

Credits left on this key and its rate limit. Free.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

推荐提示词

search_research
Search for information about [topic] using xdataapi: X (Twitter) data
预期工具: search_tweets
find_specific
Find [specific item] using xdataapi: X (Twitter) data
预期工具: search_tweets
retrieve_data
Get details about [item] from xdataapi: X (Twitter) data
预期工具: get_user
fetch_info
Fetch [information type] using xdataapi: X (Twitter) data
预期工具: get_user
research_workflow
Search for [topic], then get detailed information about the top results using xdataapi: X (Twitter) data
预期工具: search_tweetsget_user

社区

评价此服务器

证据

最近观测

已验证未记录版本14 个工具
已验证未记录版本14 个工具