NLP Tools - Sentiment, NER, Toxicity & Language Detection

io.github.fasuizu-br由 GitHub 帳號 fasuizu-br 發布v1.1.0更新於 Oct 24, 2026

Toxicity, sentiment, NER, PII detection, and language identification tools

已驗證Streamable HTTP可網頁執行安全與監控AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供毒性、情感、命名實體辨識、PII 偵測與語言辨識等 NLP 工具,用來分析送出的文字。

可以做什麼
  • 依六個類別為文字評分毒性,數值為 0.0 到 1.0
  • 判斷文字情感為正面或負面並附信心分數,可選通用或領域專用模型
  • 擷取人名、組織、地點及其他實體,附位置位移與信心分數
  • 偵測電子郵件、電話、社會安全號碼、信用卡、IP 與人名等個人資料,可選擇回傳去識別化文字
  • 辨識文字語言,涵蓋 176 種語言並回傳 ISO 639-1 代碼
  • 查詢 NLP API 服務的健康狀態與已載入模型
適用情境
適合需要審核或分流使用者產生內容、判斷情感傾向、從文件中擷取實體、在分享前篩檢個人資料,或依語言分類內容的情境。
執行需求
需要一個遠端 streamable HTTP 端點;清單未宣告任何套件、環境變數或標頭。隨附 README 表示其所列的閘道主機已停用,且目前 API 需要來自 Brainiall 帳戶的 Authorization Bearer API 金鑰。
安裝前請注意
README 指出此伺服器所列的閘道端點屬於舊版且已停用,可能無法回應,使用前應確認目前端點。送出的文字會傳到第三方託管服務,涉及機密或個人內容時需謹慎。README 也說明目前 API 需要 API 金鑰,且不得提交到程式碼庫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 NLP Tools - Sentiment, NER, Toxicity & Language Detection,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.fasuizu-br%2Fnlp-tools/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "nlp-tools-sentiment-ner-toxicity-languag": {
      "type": "http",
      "url": "https://apim-ai-apis.azure-api.net/mcp/nlp/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

6

analyze_toxicity

Analyze Toxicity

Analyze text for toxic content. Returns scores for 6 categories: toxic, severe_toxic, obscene, threat, insult, identity_hate. Each score is 0.0-1.0. BERT-based classifier with sub-15ms latency on GPU. Args: text: Text to analyze for toxicity (hate speech, insults, threats). Returns: dict with keys: - toxic (float 0-1): Overall toxicity score - severe_toxic (float 0-1): Severe toxicity score - obscene (float 0-1): Obscenity score - threat (float 0-1): Threat score - insult (float 0-1): Insult score - identity_hate (float 0-1): Identity-based hate score - is_toxic (bool): Whether text exceeds toxicity threshold

輸入參數text必填

analyze_sentiment

Analyze Sentiment

Analyze text sentiment. Returns positive/negative classification with confidence scores. DistilBERT-based with sub-10ms latency. Multiple domain-specific model variants available. Args: text: Text to analyze for sentiment (positive/negative). model: Model variant -- 'general' (default), 'financial', 'twitter'. Returns: dict with keys: - label (str): 'positive' or 'negative' - score (float 0-1): Confidence score for the predicted label - scores (dict): All label scores (positive, negative)

輸入參數text必填model

extract_entities

Extract Entities

Extract named entities (NER) from text. Identifies persons, organizations, locations, and miscellaneous entities with span offsets and confidence scores. BERT-NER based with sub-50ms latency. Args: text: Text to extract named entities from. Returns: dict with keys: - entities (list): Detected entities, each containing: - text (str): Entity text - label (str): Entity type (PER, ORG, LOC, MISC) - start (int): Character offset start - end (int): Character offset end - score (float 0-1): Confidence score - count (int): Total number of entities found

輸入參數text必填

detect_pii

Detect PII

Detect personally identifiable information (PII) in text. Finds emails, phone numbers, SSNs, credit cards, IP addresses, and person names. Optionally returns redacted text with PII replaced by type labels (e.g. [EMAIL], [PHONE]). BERT-NER + regex ensemble. Args: text: Text to scan for personally identifiable information. redact: If true, return redacted text with PII replaced by [TYPE]. Returns: dict with keys: - pii_found (list): Detected PII items, each containing: - text (str): The PII value found - type (str): PII type (EMAIL, PHONE, SSN, CREDIT_CARD, IP, PERSON) - start (int): Character offset start - end (int): Character offset end - score (float 0-1): Detection confidence - count (int): Total PII items found - redacted_text (str|null): Text with PII replaced (when redact=true) - has_pii (bool): Whether any PII was detected

輸入參數text必填redact

detect_language

Detect Language

Detect the language of text. Supports 176 languages using fastText. Sub-1ms inference latency. Returns ISO 639-1 codes with confidence scores. Args: text: Text to identify the language of. top_k: Number of top language predictions to return (default: 3). Returns: dict with keys: - language (str): Top predicted language ISO 639-1 code - confidence (float 0-1): Confidence for top prediction - predictions (list): Top-k predictions, each with: - language (str): ISO 639-1 code - confidence (float 0-1): Prediction confidence

輸入參數text必填top_k

check_nlp_service

Check NLP Service

Check health status of NLP API services and loaded models. Returns: dict with keys: - status (str): 'healthy' or error state - models (dict): Loaded model status per capability - version (str): API version

無需輸入參數。

版本歷史

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

評分

已滿足適用檢查項的 85%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分