Mixun

Developers · Mixun

This page shows three ways to wire Mixun validation into an agent — an HTTP API, MCP tools and a Skill package. All three talk to the local desktop app on 127.0.0.1 and do not upload data.

1. Start the desktop app

After downloading and opening Mixun, the machine has a validation service: curl http://127.0.0.1:17420/v1/health returns something like {"ok":true,"service":"mixun-validate","version":"4.59.0",...}.

2. Run one validation

POST to http://127.0.0.1:17420/v1/validate with a JSON body such as {"keyword":"发票 对账","limit":12}. The response contains auto_summary (a three-second read), signals[] (each with url / kind / quality), coverage (evidence strength), conclusion, counter and checklist.

3. MCP: let Claude / Cursor call it

Paste a config like the following into the MCP client, replacing cwd with your own Mixun directory: {"mcpServers":{"mixun-validate":{"command":"python","args":["-m","mcp_server.mixun_validate"],"cwd":"C:/path/to/demand-radar","env":{"MIXUN_API_BASE":"http://127.0.0.1:17420"}}}}. The page offers generate-config, copy and download-mcp.json buttons, and the server exposes the tools validate_direction, validation_history and mixun_health.

4. Skill package: a manual for agents

Copy skills/mixun-validate/SKILL.md into your skills directory (the shared convention for Claude Code / Codex). It requires that source links are kept, that the scoring method is labelled, and that "insufficient evidence" is said when there are no sources; the page provides a view SKILL.md link.

5. Example code and honest limits

Python and curl examples are included (Python example, curl example). The page is explicit about the limits: the API only listens on the local loopback address and is not a public service, so a public deployment needs your own reverse proxy plus authentication; sources depend on the public sites reachable from the current network, and failures appear in coverage.failed_sources instead of being faked; and without an AI key configured, the score is a rule-based initial evaluation, not a model judgement.

Chinese original: /developers.html(中文原文为准)。

All English pages · Chinese original authoritative.