Text Analytics Client MCP Server
The Text Analytics API is a suite of text analytics web services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. No training data is needed to use this
Quick Setup
Transport: STDIO
Command: npx -y @mcp/azure-com-cognitiveservices-textanalytics
Environment Variables
TEXT_ANALYTICS_CLIENT_API_KEYExample: your_text_analytics_client_api_key
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"azure-com-cognitiveservices-textanalytics": {
"command": "npx",
"args": ["-y","@mcp/azure-com-cognitiveservices-textanalytics"],
"env": {
"TEXT_ANALYTICS_CLIENT_API_KEY": "your_text_analytics_client_api_key"
}
}
}
}Endpoints
/entitiesThe API returns a list of recognized entities in a given document.
/keyPhrasesThe API returns a list of strings denoting the key talking points in the input text.
/languagesThe API returns the detected language and a numeric score between 0 and 1.
/sentimentThe API returns a numeric score between 0 and 1.