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.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
SORSA_API_KEY=<secret> claude mcp add sorsa-io-sorsa-mcp -- npx -y sorsa-mcp@1.0.4在終端機中執行。
{ "mcpServers": { "sorsa-io-sorsa-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "SORSA_API_KEY": "<secret>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
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.
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.
npm install
npm run build
Or, once published, run it with no install via npx (see below).
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.
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).
Using the published npm package (nothing to install, npx fetches it):
{
"mcpServers": {
"sorsa": {
"command": "npx",
"args": ["-y", "sorsa-mcp"],
"env": {
"SORSA_API_KEY": "YOUR_KEY"
}
}
}
}
Or running from a locally built checkout:
{
"mcpServers": {
"sorsa": {
"command": "node",
"args": ["D:\\Code\\Cursor Projects\\Sorsa_MCP\\dist\\index.js"],
"env": {
"SORSA_API_KEY": "YOUR_KEY"
}
}
}
}
Edit %APPDATA%\Claude\claude_desktop_config.json and add the same mcpServers
block as above, then restart the app.
# build
npm run build
# run (communicates over stdio — easiest to test through a client)
SORSA_API_KEY=YOUR_KEY npm start
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.
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
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.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.
MIT
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.
{ "mcpServers": { "sorsa-io-sorsa-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "SORSA_API_KEY": "<secret>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:SORSA_API_KEY。
Sorsa 透過 stdio 在本機執行。
上次檢查時間:2026-10-27。 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.