Trustwise MCP Server

Trustwise MCP Server

Provides advanced evaluation tools for assessing AI safety, alignment, and performance of LLM outputs. Enables programmatic evaluation of quality, safety metrics like toxicity and PII detection, and operational metrics including carbon footprint and cost estimation.

Category
Visit Server

README

πŸ¦‰ Trustwise MCP Server

The Trustwise MCP Server is a Model Context Protocol (MCP) server that provides a suite of advanced evaluation tools for AI safety, alignment, and performance. It enables developers and AI tools to programmatically assess the quality, safety, and cost of LLM outputs using Trustwise's industry-leading metrics.

πŸ’‘ Use Cases

  • Evaluating the safety and reliability of LLM responses.
  • Measuring alignment, clarity, and helpfulness of AI-generated content.
  • Estimating the carbon footprint and cost of model inference.
  • Integrating robust evaluation into AI pipelines, agents, or orchestration frameworks.

πŸ› οΈ Prerequisites

πŸ“¦ Installation & Running

Claude Desktop

To connect the Trustwise MCP Server to Claude Desktop, add the following configuration to your Claude Desktop settings:

{
  "mcpServers": {
    "trustwise": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TW_API_KEY",
        "ghcr.io/trustwiseai/trustwise-mcp-server:latest"
      ],
      "env": {
        "TW_API_KEY": "<YOUR_TRUSTWISE_API_KEY>"
      }
    }
  }
}

To point to a specific Trustwise Instance - under env, also set the following optional environment variable:

TW_BASE_URL: "<YOUR_TRUSTWISE_INSTANCE_URL>"

e.g "TW_BASE_URL": "https://api.yourdomain.ai"

Cursor

To connect the Trustwise MCP Server to cursor, add the following configuration to your cursor settings:

{
  "mcpServers": {
    "trustwise": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TW_API_KEY",
        "-e",
        "TW_BASE_URL",
        "ghcr.io/trustwiseai/trustwise-mcp-server:latest"
      ],
      "env": {
        "TW_API_KEY": "<YOUR_TRUSTWISE_API_KEY>"
      }
    }
  }
}

Replace <YOUR_TRUSTWISE_API_KEY> with your actual Trustwise API key.

🧰 Tools

The Trustwise MCP Server exposes the following tools (metrics). Each tool can be called with the specified arguments to evaluate a model response.

πŸ›‘οΈ Trustwise Metrics

Tool Name Description
faithfulness_metric Evaluate the faithfulness of a response to its context
answer_relevancy_metric Evaluate relevancy of a response to the query
context_relevancy_metric Evaluate relevancy of context to the query
pii_metric Detect PII in a response
prompt_injection_metric Detect prompt injection risk
summarization_metric Evaluate summarization quality
clarity_metric Evaluate clarity of a response
formality_metric Evaluate formality of a response
helpfulness_metric Evaluate helpfulness of a response
sensitivity_metric Evaluate sensitivity of a response
simplicity_metric Evaluate simplicity of a response
tone_metric Evaluate tone of a response
toxicity_metric Evaluate toxicity of a response
refusal_metric Detect refusal to answer or comply with the query
completion_metric Evaluate completion of the query’s instruction
adherence_metric Evaluate adherence to a given policy or instruction
stability_metric Evaluate stability (consistency) of multiple responses
carbon_metric Estimate carbon footprint of a response
cost_metric Estimate cost of a response

For more examples and advanced usage, see the official Trustwise SDK.

πŸ“„ License

This project is licensed under the terms of the MIT open source license. See LICENSE for details.

πŸ”’ Security

  • Do not commit secrets or API keys.
  • This repository is public; review all code and documentation for sensitive information before pushing.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured