内容路由器 — MCP server for content format selection
Analyze a piece of content across 11 dimensions and rank possible output formats, from slides to comics. Use it to choose a medium before starting the conversion work.
Open on GitHubWhat 内容路由器 · 素材该做成什么 does
The server builds a content profile using factors such as length, information density, structure, visual potential, depth, emotional tone, narrative tension, practical value, and timeliness. It then ranks suitable formats and gives scores with reasons behind each recommendation. Options include slide decks, infographics, short-video scripts, comics, newsletters, and reusable skills.
Run an analysis on a single file, process a directory in bulk, or import the engine from Python. The command python engine.py batch ./我的素材库 --out 产出决策表.md produces a decision table for a collection of source files. The route() method generates a dispatch prompt for selected formats and writes a JSON report. Long documents are split and summarized before profiling, and you can adjust profile dimensions before asking for new recommendations.
server.py exposes five MCP tools over stdio or streamable HTTP. Install mcp>=2.1 to run the server; no API key is needed. The tools perform calculations and read content without writing files or making external requests. The boundary matters: this project chooses a medium, such as an infographic or video, while rewriting an article for a particular social platform belongs to a separate workflow.
What it helps with
- Choose an output medium for a source article
- Build a format decision table for a content directory
- Compare recommendations and inspect their scoring reasons
- Generate a dispatch prompt for another agent
- Edit a content profile and recalculate format rankings
Example prompts for the agent
- Analyze
README.mdand rank the best formats for this content. - Process
./我的素材库and save the decision table to产出决策表.md. - Generate dispatch prompts to turn my article into a slide deck and an infographic.
How to install 内容路由器 · 素材该做成什么
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about 内容路由器 · 素材该做成什么
How do I install 内容路由器 for Claude Code?
Clone the repository with git clone https://gitee.com/savantcat/content-router.git, enter it using cd content-router, then run python engine.py analyze README.md. To start the MCP server, install pip install "mcp>=2.1" and launch python server.py.
What does 内容路由器 do?
It evaluates content across 11 dimensions, ranks six possible output formats, and explains why they fit. It can also prepare a dispatch prompt for another agent to carry out the selected conversion.
Can I connect the MCP server over HTTP?
Yes. Run python server.py --transport http --port 8769 for streamable HTTP. For local stdio access, use python server.py with Claude Desktop, Cursor, or another MCP client.