Sentor

io.github.NIKX-Tech由 GitHub 帳號 NIKX-Tech 發布v1.0.5更新於 Oct 24, 2026

Score sentiment toward specific entities in text. Cluster documents and name topics.

已驗證STDIO僅桌面資料與分析AI 與機器學習

概覽

AI 產生的概覽

Sentor 是本地 MCP 伺服器,讓助理透過 Sentor 託管的機器學習 API 對文字進行實體層級的情感分析與主題分群。

可以做什麼
對一份或多份文件中指定的實體(品牌、產品、功能、人物)進行情感評分,回傳依文件與依句子的細部結果,支援英文與荷蘭文。將五份以上文件依主題分群,自動判斷分群數量並標記離群文件。為每個分群產生簡短描述性標籤,可選擇將自家品牌排除在標籤之外。檢查 Sentor API 是否可連線、模型是否已載入。
適用情境
適合讓助理分析客戶評論、問卷回饋、社群貼文等文字中對特定實體的情感,並在同一次對話中把大批文件依主題分組並為各主題命名。
執行需求
以本機 Python 程序執行(需 Python 3.10 以上),通常透過 uvx 啟動或先安裝 sentor-mcp 套件。需在 SENTOR_API_KEY 環境變數中提供 Sentor API 金鑰;SENTOR_BASE_URL 可指向自架執行個體。需要能連線至 Sentor API 的網路,用量受方案速率限制約束。
安裝前請注意
SENTOR_API_KEY 中的 API 金鑰屬於憑證,應避免寫入共用的設定檔。所有被分析的文字都會傳送到 Sentor 的託管 API,提交機密或個人資料前請先確認其條款。用量會計入速率限制與付費方案配額;README 也說明了以 Docker 透過 HTTP/SSE 部署並將伺服器暴露到網路的做法。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Sentor MCP Server

[Sentor Logo]

Entity-based sentiment analysis for Claude, Cursor, Windsurf, and any MCP-compatible AI assistant.

[PyPI] [Python] [License] [GitHub Stars]
[Website] [Dashboard] [Docs]

Sentor is an entity-based sentiment analysis platform powered by fine-tuned BERT models. This MCP server exposes Sentor's ML APIs as tools your AI assistant can call directly — score sentiment toward specific entities in text, cluster documents by topic, and generate topic labels, all from a single natural-language prompt.


Table of Contents


🎯 What It Does

Once connected, your AI assistant gains four tools:

ToolWhat it does
analyze_sentimentScore sentiment toward named entities (brands, products, features, people) in one or more documents. Returns per-document and per-sentence breakdowns.
cluster_documentsGroup 5+ documents into thematic clusters using BERTopic + HDBSCAN. Automatically discovers the number of clusters.
name_topicGenerate a 3–5 word descriptive label for each cluster using an LLM (e.g. "Shipping Delay Complaints").
health_checkVerify the Sentor API is reachable and ML models are loaded.

Example prompt after setup:

"Analyse these 50 customer reviews for sentiment toward our checkout flow and delivery speed. Then cluster them by topic and name each cluster."


📋 Requirements


🚀 Quick Start

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "sentor": {      "command": "uvx",      "args": ["sentor-mcp"],      "env": {        "SENTOR_API_KEY": "your_api_key_here"      }    }  }}

Restart Claude Desktop. A hammer icon appears in the tool selector — Sentor is ready.

No uvx? Install it with pip install uv, or use sentor-mcp directly after pip install sentor-mcp.


Cursor / Windsurf

Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "sentor": {      "command": "uvx",      "args": ["sentor-mcp"],      "env": {        "SENTOR_API_KEY": "your_api_key_here"      }    }  }}

Claude.ai Web (Remote MCP)

Run the HTTP server and connect by URL:

bash
docker run -e SENTOR_API_KEY=your_api_key -p 8080:8080 ghcr.io/nikx-tech/sentor-mcp:latest

Then in Claude.ai → Settings → Integrations → Add MCP Server:

http://your-server:8080/sse

🔧 Tools Reference

analyze_sentiment(docs, language="en")

Analyse entity-level sentiment in one or more documents.

python
docs = [    {        "doc_id": "review-1",        "doc": "The delivery was fast but the packaging was completely crushed.",        "entities": ["delivery", "packaging"]    }]# Returns: predicted_label, probabilities, per-sentence details

Supported languages: en (English), nl (Dutch)


cluster_documents(documents, language="en")

Group documents into thematic clusters. Requires at least 5 documents.

python
documents = [    {"doc_id": "r1", "text": "Great product quality, very happy.", "entities": ["product"]},    # ... at least 5 documents]# Returns: clusters with cluster_id, document_count, documents, top_words# Cluster -1 = outliers that did not fit any topic

name_topic(cluster_id, documents, top_words, entities, language="en")

Generate a short label for a cluster. Pass data directly from cluster_documents output.

python
name_topic(    cluster_id=0,    documents=cluster["documents"],    top_words=cluster["top_words"],    entities=["BrandName"],  # exclude your brand from the label    language="en")# Returns: { "topic_name": "Shipping Delay Complaints", "generation_method": "LLM" }

health_check()

python
# Returns: { "status": "healthy", "version": "1.0.0", "llm_status": "available" }

💬 Usage Examples

Single document:

"Use Sentor to analyse the sentiment of this review toward Apple and iPhone: [paste text]"

Batch analysis:

"I have 100 customer reviews. Use Sentor to score sentiment toward 'delivery' and 'support' in each one, then tell me the ratio of positive to negative."

Full pipeline:

"Use Sentor to: 1) analyse sentiment in these 200 reviews for 'product quality' and 'price', 2) cluster them by topic, 3) name each cluster, 4) summarise the findings."

Competitive analysis:

"Analyse these tweets for sentiment toward Apple, Samsung, and Google separately using Sentor, then compare the results."


📊 Rate Limits

PlanPer MinutePer DayPer Month
Free51001,000
Starter601,00010,000
Growth2003,00030,000
Business50010,000100,000
EnterpriseCustomCustomCustom

View full pricing →


🐳 Remote Deployment

Run as a hosted HTTP/SSE server for AI tools that support remote MCP endpoints.

Docker:

bash
docker build -t sentor-mcp .docker run \  -e SENTOR_API_KEY=your_key \  -p 8080:8080 \  sentor-mcp

The server exposes:

  • GET /sse — SSE stream (MCP transport)
  • POST /messages — message endpoint

Environment variables:

VariableDefaultDescription
SENTOR_API_KEY—Required. Your Sentor API key.
SENTOR_BASE_URLhttps://sentor.app/apiOverride to point at a self-hosted Sentor instance.
PORT8080HTTP server port.

🔗 Links


Built by NIKX Technologies B.V.

來源:README.md,提交 21b9f57

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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