NLP Tools - Sentiment, NER, Toxicity & Language Detection

io.github.fasuizu-brPublished by GitHub account fasuizu-brv1.1.0Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableSecurity & MonitoringAI & ML

Overview

AI-generated overview

Remote MCP server exposing NLP tools for toxicity, sentiment, named-entity extraction, PII detection and language identification on supplied text.

What you can do
  • Score text for toxicity across six categories with 0.0-1.0 values
  • Classify sentiment as positive or negative with confidence scores, including domain-specific model variants
  • Extract persons, organizations, locations and miscellaneous entities with span offsets and confidence
  • Detect PII such as emails, phone numbers, SSNs, credit cards, IPs and names, optionally returning redacted text
  • Identify the language of text across 176 languages with ISO 639-1 codes
  • Check the health status and loaded models of the NLP API services
When to use it
Useful when an assistant needs to triage or moderate user-generated text, gauge sentiment, pull entities out of documents, screen text for personal data before sharing, or route content by language.
Requirements
A remote streamable HTTP endpoint; no package, environment variable or header is declared in the manifest. The bundled README states that the gateway host it names has been retired and that the current API requires an Authorization Bearer API key from a Brainiall account.
Before you install
The README says the gateway endpoint listed for this server is legacy and retired, so it may not respond; confirm the current endpoint before relying on it. Text you submit is sent to a third-party hosted service, which matters for confidential or personal content. The README notes the current API needs an API key that must never be committed.

Installation

In SourceWeft

  1. Open NLP Tools - Sentiment, NER, Toxicity & Language Detection in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.fasuizu-br%2Fnlp-tools/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

README

This repository has no README.

Tools

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

Parameterstextrequired

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)

Parameterstextrequiredmodel

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

Parameterstextrequired

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

Parameterstextrequiredredact

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

Parameterstextrequiredtop_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

Takes no parameters.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts