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

概覽

AI 產生的概覽

本機 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 的網路。
安裝前請注意
SORSA_API_KEY 會隨每次請求送出,請避免寫入共用設定檔。請求會消耗金鑰的請求額度,可用用量工具查看。查詢內容與帳號識別碼會傳送給第三方 Sorsa.io 服務。這些工具用於讀取資料,README 未列出發布或修改內容的工具。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sorsa Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
npm installnpm run build

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.

VariableRequiredDefault
SORSA_API_KEYyes—
SORSA_BASE_URLnohttps://api.sorsa.io/v3

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):

json
{  "mcpServers": {    "sorsa": {      "command": "npx",      "args": ["-y", "sorsa-mcp"],      "env": {        "SORSA_API_KEY": "YOUR_KEY"      }    }  }}

Or running from a locally built checkout:

json
{  "mcpServers": {    "sorsa": {      "command": "node",      "args": ["D:\\Code\\Cursor Projects\\Sorsa_MCP\\dist\\index.js"],      "env": {        "SORSA_API_KEY": "YOUR_KEY"      }    }  }}

Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json and add the same mcpServers block as above, then restart the app.

Local check

bash
# buildnpm 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.

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Sorsa 整合