Chenji Affect

Official registry Other

Affect analysis, 3D avatar params, empathy hints and somatic emotion decode.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http chenji-affect 'https://taichusjs.cn/mcp' --header 'x-api-key: <Chenji API key (free BASIC tier on RapidAPI or taichusjs.cn)>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "chenji-affect": {
            "type": "http",
            "url": "https://taichusjs.cn/mcp",
            "headers": {
                "x-api-key": "<Chenji API key (free BASIC tier on RapidAPI or taichusjs.cn)>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Chenji Affect MCP Server
  2. Tools
  3. Remote mode (no install)
  4. Install
  5. Configure (Claude Desktop example)
  6. Notes
  7. Links

Chenji Affect MCP Server

Turn raw text into structured affect signals — an 8-dimensional emotion vector, emotion texture labels, causal intent, 3D avatar driving parameters, empathy response strategies, and somatic-sensation emotion decoding — inside any MCP-capable client (Claude Desktop, Cursor, Qoder, etc.).

Powered by the Chenji Affect API (taichusjs.cn).

Tools

ToolLevelDescription
analyze_textL1Text → 8-dim affect vector + emotion texture + intent + state description
generate_avatar_paramsL2Text → blendshape/AU/curve animation package + lighting/atmosphere package + upstream L1
empathy_hintL3Text → deterministic empathy response strategy (approach, tone, pacing, focus, avoid-list), ~20ms, no LLM
somatic_decodeL4Body-sensation text → structured emotion (primary affect, valence/arousal, texture, intent) + somatic anchors

Remote mode (no install)

Clients that support streamable-http MCP can connect directly, no local package needed:

{
  "mcpServers": {
    "chenji-affect": {
      "type": "streamable-http",
      "url": "https://taichusjs.cn/mcp",
      "headers": { "x-api-key": "cj-your-key-here" }
    }
  }
}

Install

Requires Python 3.10+.

pip install "mcp>=1.0,<2"

Get an API key:

  • Free BASIC plan (100 req/day, 3,000/month): subscribe on RapidAPI, or request a trial key at https://taichusjs.cn/trial.html.

Configure (Claude Desktop example)

{
  "mcpServers": {
    "chenji-affect": {
      "command": "python",
      "args": ["/absolute/path/to/server.py"],
      "env": {
        "CHENJI_API_KEY": "cj-your-key-here"
      }
    }
  }
}

Environment variables:

VariableRequiredDescription
CHENJI_API_KEYYesYour Chenji API key
CHENJI_API_BASENoDefaults to https://taichusjs.cn

Notes

  • L1 input is limited to 2000 characters (every 200 chars = 1 billing unit).
  • generate_avatar_params requires a key tier that includes L2.
  • empathy_hint and somatic_decode are billed as L1-family calls (trial tier applies).
  • Privacy: raw text is never persisted by the API; only key hashes and telemetry are retained.
  • Wellness and affect-state simulation only — not a medical or diagnostic tool.

Frequently asked questions

What is Chenji Affect?

Affect analysis, 3D avatar params, empathy hints and somatic emotion decode.

How do I install Chenji Affect?

It runs as a remote server. In Claude Code: claude mcp add --transport http chenji-affect 'https://taichusjs.cn/mcp' --header 'x-api-key: <Chenji API key (free BASIC tier on RapidAPI or taichusjs.cn)>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Chenji Affect need an API key?

Yes. It expects x-api-key, which you set in its configuration.

Is Chenji Affect open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Chenji Affect?

It is published by zhiyu-dev. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.