nttcom/chakoshi-mcp-server
If you are the rightful owner of chakoshi-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The chakoshi MCP Server is designed to integrate MCP client applications with the chakoshi API for Japanese text moderation.
The chakoshi MCP Server is a specialized server that facilitates the integration of MCP (Model Context Protocol) client applications with the chakoshi API. This server is particularly useful for applications like Claude Desktop, enabling them to perform Japanese text moderation by checking for harmful content. Chakoshi, provided by NTT Docomo Business, acts as a guardrail for LLMs (Large Language Models), ensuring that the content generated or processed is safe and adheres to predefined standards. The server is built using Python and requires Python 3.10 or higher. It leverages the chakoshi API to return moderation results in JSON format, making it easy for client applications to interpret and act upon the results. The server setup involves configuring environment variables, including API keys and category set IDs, which are obtained from the chakoshi playground. The server can be run using the 'uv' tool, which is recommended for its ease of use and efficiency.
Features
- Integration with chakoshi API for text moderation.
- Support for MCP client applications like Claude Desktop.
- Returns moderation results in JSON format.
- Configurable via environment variables.
- Built with Python 3.10 or higher.
Usages
usage with Claude Desktop
{ "mcpServers": { "command": "/PATH_to_uv/uv", "args": [ "--directory", "/PATH_to_chakoshi/chakoshi-mcp-server", "run", "main.py" ], "env": { "CHAKOSHI_API_KEY": "YOUR_CHAKOSHI_API_KEY" } } }
Tools
moderate_text
A tool to check the harmfulness of text content using the chakoshi API.