# Brainiall NLP MCP server

Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.

## Facts

- Endpoint: https://api.brainiall.com/mcp/nlp/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: B (85/100, scanned 2026-09-06) · report https://gateturbo.com/report/0db9744b-d2bc-450a-bb19-59de22017b83
- Tools: 22
- Category: Docs & AI · source: registry
- Last probed: 2026-09-03 · first listed: 2026-08-26
- Directory page: https://gateturbo.com/mcp/brainiall-nlp · this document: https://gateturbo.com/mcp/brainiall-nlp.md · JSON: https://gateturbo.com/api/directory/servers/brainiall-nlp

## Tools (22)

- `analyze_toxicity`: Analyze text for toxic content. Returns scores for 6 categories: toxic, severe_toxic, obscene, threat, insult, identity_hate. Each score is
- `analyze_sentiment`: Analyze text sentiment. Returns positive/negative classification with confidence scores. Brainiall Sentiment engine-based with sub-10ms lat
- `extract_entities`: Extract named entities (NER) from text. Identifies persons, organizations, locations, and miscellaneous entities with span offsets and conf
- `detect_pii`: Detect personally identifiable information (PII) in text. Finds emails, phone numbers, SSNs, credit cards, IP addresses, and person names. 
- `detect_language`: Detect the language of text. Supports 176 languages using fastText. Sub-1ms inference latency. Returns ISO 639-1 codes with confidence scor
- `check_nlp_service`: Check health status of NLP API services and loaded models. Returns: dict with keys: - status (str): 'healthy' or error state 
- `translate_text`: Translate text between 100+ languages. Args: text: The text to translate. target_lang: Target language code. source_lang: Sourc
- `summarize_text`: Summarize text — extractive (verbatim key sentences in original order) or abstractive (concise rewrite). Args: text: The text to summar
- `answer_question`: Answer a question using ONLY the supplied text; returns the supporting sentence(s) with character offsets. Replies found:false rather than 
- `knowledge_ingest`: Ingest a document into a knowledge base: it is chunked, embedded and stored for you (managed RAG). Args: namespace: The knowledge-base 
- `knowledge_query`: Retrieve the most relevant passages from a knowledge base plus (optionally) a grounded, cited answer. Returns found:false rather than a gue
- `knowledge_list_documents`: List the documents stored in a knowledge base (most recent first). Args: namespace: The knowledge-base namespace. Returns: dict wi
- `fraud_score`: Score a transaction or account event for fraud risk. Send whatever signals you have — all optional. Returns a 0-1 fraud probability, a risk
- `fraud_feedback`: Report the confirmed outcome of an event so the fraud model can be re-calibrated to your data. Args: event_id: The event identifier. 
- `extract_key_phrases`: Statistical key-phrase extraction — top-N ranked phrases. Brainiall Key Phrases engine. Pure-statistical (TF + position + casing + stopword
- `aspect_sentiment`: Sentiment per aspect. Brainiall Aspect Sentiment engine. Splits the text into sentences mentioning each aspect, classifies each, aggregates
- `classify_text_custom`: Zero-shot text classification — define your labels at call time. No training, no data upload. Brainiall Custom Classifier engine. Returns {
- `link_entities_to_wikidata`: Named-entity recognition + canonical linking to Wikidata Q-ids. Brainiall Entity Linker engine. Disambiguates 'Apple' the company from 'app
- `detect_conversational_pii`: Multi-turn PII detection with cross-turn coreference. Brainiall Conversational PII engine. Same surface text + type across turns gets the s
- `detect_prompt_injection`: Classify a prompt before it reaches your LLM. Brainiall Prompt Shield engine. Returns category (jailbreak | prompt_injection | data_exfiltr
- … 2 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Brainiall NLP to your gate (https://gateturbo.com/login?next=/discovery?connect=brainiall-nlp).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/brainiall-nlp/claude · Claude Desktop → https://gateturbo.com/mcp/brainiall-nlp/claude-desktop · ChatGPT → https://gateturbo.com/mcp/brainiall-nlp/chatgpt · Codex → https://gateturbo.com/mcp/brainiall-nlp/codex · Cursor → https://gateturbo.com/mcp/brainiall-nlp/cursor · Windsurf → https://gateturbo.com/mcp/brainiall-nlp/windsurf · VS Code → https://gateturbo.com/mcp/brainiall-nlp/vscode · Gemini CLI → https://gateturbo.com/mcp/brainiall-nlp/gemini-cli · OpenClaw → https://gateturbo.com/mcp/brainiall-nlp/openclaw · n8n → https://gateturbo.com/mcp/brainiall-nlp/n8n · A script or server → https://gateturbo.com/mcp/brainiall-nlp/script

### Direct: Claude Code

Add Brainiall NLP to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http brainiall-nlp https://api.brainiall.com/mcp/nlp/mcp
```

### Direct: Cursor

Add Brainiall NLP to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "brainiall-nlp": {
      "url": "https://api.brainiall.com/mcp/nlp/mcp"
    }
  }
}
```

### Direct: VS Code

Add Brainiall NLP to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "brainiall-nlp": {
      "type": "http",
      "url": "https://api.brainiall.com/mcp/nlp/mcp"
    }
  }
}
```

### Direct: Codex

Add Brainiall NLP to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.brainiall_nlp]
url = "https://api.brainiall.com/mcp/nlp/mcp"
```

### Direct: Claude

Add Brainiall NLP as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Brainiall NLP" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.brainiall.com/mcp/nlp/mcp
```

### Direct: ChatGPT

Add Brainiall NLP as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Brainiall NLP" with the URL below.
3. Set authentication to none.

```
https://api.brainiall.com/mcp/nlp/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
