
Sorsa Mcp
io.github.Sorsa-io由 GitHub 账号 Sorsa-io 发布v1.0.4更新于 Oct 24, 2026
MCP server for the Sorsa.io X/Twitter data API
发布方自己的服务:Sorsa
概览
本地 MCP 服务器,让助手接入 Sorsa.io 的 X/Twitter 数据 API,查询账号、推文、搜索、列表、社群和 Sorsa 指标。
- 可以做什么
- 查询账号资料、关注者、正在关注、认证关注者和账号详情,支持批量查询及用户名、ID、链接互转。获取推文、评论、引用、转发者、文章和趋势。搜索推文、用户、提及和 Space。查看社群与列表及其成员和推文。执行关注、评论、引用、转发和社群成员身份检查。读取 Sorsa 评分、评分变化、关注者统计、头部或新增关注者,并查询 API 密钥用量。
- 适用场景
- 适合让助手在聊天客户端内调研 X/Twitter 账号、帖子和社群,核实互动或关注关系,或获取 Sorsa 专有评分与关注者分析数据。
- 运行要求
- 通过 stdio 在本地运行,通常使用 npx 或本地构建产物,因此需要 Node.js。需要 Sorsa.io API 密钥,通过环境变量 SORSA_API_KEY 提供;可选环境变量 SORSA_BASE_URL 可覆盖默认 API 地址。需要能访问 Sorsa API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Sorsa Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Sorsa MCP
An MCP server for the Sorsa.io API v3 — access to X/Twitter data: profiles, tweets, search, follow/retweet checks, Sorsa scores, lists and communities.
The server exposes 40 tools, one per API endpoint.
Installation
Or, once published, run it with no install via npx (see below).
Configuration
You need a Sorsa API key. It is read from the SORSA_API_KEY environment variable
and sent with every request in the ApiKey header.
Connecting a client
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).
Using the published npm package (nothing to install, npx fetches it):
Or running from a locally built checkout:
Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json and add the same mcpServers
block as above, then restart the app.
Local check
The quickest way to confirm your key works is the get_key_usage_info tool —
it returns your remaining request balance and the key's expiration date.
Available tools
Profiles: get_user_info, get_user_info_batch, get_followers, get_following,
get_verified_followers, get_account_about
Tweets: get_tweet_info, get_tweet_info_bulk, get_user_tweets, get_tweet_comments,
get_tweet_quotes, get_retweeters, get_article, get_trends
Search: search_tweets, search_users, search_mentions, get_space_info
Communities: get_community_members, get_community_tweets, search_community_tweets
Checks: check_follow, check_comment, check_quoted, check_retweet,
check_community_member
Sorsa metrics: get_sorsa_score, get_sorsa_score_changes, get_followers_stats,
get_top_followers, get_top_following, get_new_followers_7d, get_new_following_7d
Lists: get_list_members, get_list_tweets, get_list_followers
Utilities: username_to_id, id_to_username, link_to_id, get_key_usage_info
Project layout
src/endpoints.ts— a declarative table of every endpoint (method, path, parameters). To add or change a tool, edit this file only.src/index.ts— the HTTP client plus tool registration driven by that table.
How it works
Each endpoint is one entry in ENDPOINTS. Based on each field's in
(path / query / body), the handler routes arguments into the URL path, the
query string, or the JSON body, then sends the request to Sorsa with the ApiKey
header. The response is returned to the client as JSON text.
License
MIT
来源:README.md,提交 01b3f52
工具
0版本历史
1- v1.0.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分