Stylechart

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 7, 2026

将句子与视觉风格和感觉词匹配;在词典中查找词语和风格。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Match a sentence to visual styles and feeling words; look up words and styles in a lexicon.

已验证STDIO仅桌面

概览

Stylechart 的本地 MCP 服务;无需登录;STDIO;5 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Stylechart,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

stylechart

Describe a mood in one ordinary sentence and stylechart tells you which visual styles it points at. Under the hood is a two-layer lexicon: feeling words on one side, visual styles on the other, and links between them. One colloquial sentence goes in; the best-matching styles come back, together with the feeling words that carried the match, so you can see why a style was chosen rather than just its name.

stylechart is a direct client of the documented public feeling-search REST API (v2) hosted at https://xiximm.cloud. The lexicon and the matching live server-side; this package validates arguments, calls the free endpoints, and hands the JSON back.

The five tools:

  • word_analyze — one sentence (up to 500 characters) → the best-matching visual styles plus the feeling words behind them. Optional words (1–12) and styles (1–30) cap how many of each come back. A phrasing outside the lexicon returns an empty word list; that is expected, not an error.
  • word_lookup — a single feeling word in full: definition, near-synonyms, and the styles it lands on.
  • word_list — the whole lexicon in one response. With a query, the dictionary is filtered locally: words whose text contains the query and styles whose name or id does, with filtered and total counts reported side by side.
  • style_get — one style by id (for example synthwave): definition, parent style, member words, reference images.
  • word_status — lexicon coverage only: the {ok, counts} slice of the dictionary response, for checking the data is fresh without downloading the full tables.

Free endpoints only

This rebuild talks exclusively to the documented free endpoints (POST /v2/analyze, GET /v2/links, GET /v2/dictionary, GET /v2/styles/<id>). The paid cloud path is not supported: there is no payment machinery of any kind, no support for purchased quota tokens (the X-FS-Quota header is never sent), and the metered images endpoint is never called. If the upstream ever answers /v2/analyze with HTTP 402, stylechart reports it as an error naming the paid path instead of paying.

Configuration

  • FEELING_API_BASE — API base URL. Defaults to https://xiximm.cloud. No API key is needed or accepted.

CLI

Each tool is a subcommand taking one JSON argument string (word_status takes none, word_list's argument is optional):

bash
npx @reneturcios/stylechart word_analyze '{"text":"rainy neon streets at night","styles":5}'npx @reneturcios/stylechart word_lookup '{"word":"melancholy"}'npx @reneturcios/stylechart word_list '{"query":"neon"}'npx @reneturcios/stylechart word_listnpx @reneturcios/stylechart style_get '{"id":"synthwave"}'npx @reneturcios/stylechart word_statusnpx @reneturcios/stylechart --version

Output is the tool's result JSON. Exit codes: 0 on success, 1 on a runtime error (including a validation or upstream failure), 2 on a usage error.

MCP server

bash
npx -y @reneturcios/stylechart mcp

MCP client config:

json
{  "mcpServers": {    "stylechart": {      "command": "npx",      "args": ["-y", "@reneturcios/stylechart", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/stylechartdocker run --rm ghcr.io/cloudcorprecords/stylechart word_status

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (fake fetch only, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

来源:README.md,提交 2bed956

工具

5

word_analyze

One sentence → the best-matching visual styles + the feeling words behind them.

输入参数text必填wordsstyles

word_lookup

Look up a single feeling word: definition, near-synonyms, landing styles.

输入参数word必填

word_list

Browse / search the full feeling-word lexicon.

输入参数query

style_get

One style in full: definition, parent style, member words, reference images.

输入参数id必填

word_status

Lexicon coverage — use it to check the data is fresh.

无需输入参数。

版本历史

1
  1. v0.1.0最新Nov 3, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分