Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

StdFlow MCP — Chinese National Standards Knowledge Base for AI Agents

MCP Badge

Full-text Chinese national standards (GB/GB-T/GB-Z) via MCP, with legal force, normative reference chains and version history — so your agent reads the complete standard, not fragment chunks.

600+ standards · CCC/CE market access · 7 MCP tools · pay-per-use from 0ドル.05

stdflow.com · Sign up for 1ドル free credit


Why this exists

When your agent is asked "which clauses of GB 38031 apply to my EV battery?", most LLMs either hallucinate or return a vague summary. StdFlow gives your agent read access to the complete, official standard text — plus the metadata that matters for compliance:

  • Full standard recallget_standard returns the whole standard text (not chunks), so the agent understands the design logic, not just keywords.
  • Legal force + reference chains — every standard is tagged mandatory / recommended / guideline, and normative references are traceable. A mandatory standard's referenced GB/T clauses are implicitly mandatory — the agent can reason this out from the data.
  • Version history — know whether you're looking at the current or superseded edition.
  • Bilingual metadata — Chinese standards with English-ready metadata; the tool descriptions are bilingual.

Features

📚 600+ Chinese standards (GB/GB-T/GB-Z + industry) CCC/CE market access: battery & fuel cells, road vehicles, electrical, toy safety, food-contact materials, safety & protection, incl. certification requirements
🧭 7 MCP tools search_standards · search_clauses · get_standard · trace_references · review_compliance · get_standard_history · get_certification
⚖️ Legal force mandatory / recommended / guideline, with force source (e.g. 标准化法 第十条)
🔗 Reference chains normative references traceable; implicit-mandatory detection
🌐 Bilingual Chinese content, bilingual tool descriptions, EN/ZH interface
💰 Pay-per-use no subscription — 0ドル.05–0ドル.50 per call, 1ドル free credit on signup

Quick start

  1. Sign up at stdflow.com → you get 1ドル free credit (≈ 20 searches).
  2. Create an API key in the dashboard (format sk-...).
  3. Point your MCP client at the endpoint:
{
 "mcpServers": {
 "stdflow": {
 "type": "http",
 "url": "https://stdflow.com/mcp",
 "headers": {
 "Authorization": "Bearer sk-YOUR_API_KEY"
 }
 }
 }
}

Works with Claude Code, Cursor, Cline, Roo Code, and any MCP-over-HTTP client.

  1. Try your first call — e.g. in Claude Code:
What Chinese national standards apply to a lithium battery product?

or call the tools directly:

curl -X POST https://stdflow.com/mcp \
 -H "Content-Type: application/json" \
 -H "Authorization: Bearer sk-YOUR_API_KEY" \
 -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_standards","arguments":{"query":"锂电池 安全","limit":3}}}'

Tools

Tool What it does Price
search_standards Find relevant standards by product/question; returns metadata (name, code, force, normative references) 0ドル.05
search_clauses Semantic search over clause-level text chunks 0ドル.05
get_standard Retrieve a complete standard text (full markdown) 0ドル.20
trace_references Trace normative reference chains, incl. implicit-mandatory 0ドル.05
review_compliance Comprehensive compliance review for a product 0ドル.50
get_standard_history Version list with status (current / superseded) 0ドル.05
get_certification Certification procedures for a product + country (CCC / CE) 0ドル.05

Live demo — battery safety

Real output from the production API (abbreviated):

search_standards — "锂电池 安全"

{
 "results": [
 {
 "std_id": "GB 24462",
 "title": "民用原电池安全通用要求",
 "force_level": "mandatory",
 "force": [{ "std_id": "GB 24462", "jurisdiction": "CN-national",
 "force_level": "mandatory", "force_source": "标准化法 第十条" }]
 },
 {
 "std_id": "GB 38031-2025",
 "title": "电动汽车用动力蓄电池安全要求",
 "force_level": "mandatory",
 "force": [{ "std_id": "GB 38031-2025", "jurisdiction": "CN-national",
 "force_level": "mandatory", "force_source": "标准化法 第十条" }]
 }
 ]
}

trace_references — GB 15735-2012 (mandatory) — implicit-mandatory detection

{
 "std_id": "GB 15735-2012",
 "self_force_level": "mandatory",
 "outgoing": [
 {
 "std_id": "GB/T 11651",
 "title": "个体防护装备选用规范",
 "type": "normative",
 "cited_force_level": "recommended",
 "note": "本标准为强制标准,此规范性引用的内容须执行(引用条款具有隐形强制效力)"
 }
 ]
}

The agent can see that GB 15735 is mandatory and that the recommended GB/T standards it references become implicitly mandatory — this is the "invisible mandate" that compliance teams miss.

More scenarios: battery-safety, toy-safety, food-contact.

Pricing

Product Price
search_standards / search_clauses / trace_references / history / certification 0ドル.05 / call
get_standard (full text) 0ドル.20 / call
review_compliance 0ドル.50 / call
Signup bonus 1ドル.00 free credit (valid 90 days)
Top-ups 10ドル / 20ドル / 50ドル (never expire)

No subscription. Pay only when your agent actually calls the API.

Data & copyright

  • Data is sourced from official public channels (openstd.samr.gov.cn etc.).
  • Standard copyright belongs to the respective issuing bodies. We provide retrieval & citation services.
  • AI answers do not constitute legal advice — always verify against official texts.

License

MIT (this repo). The underlying data is subject to the issuing bodies' copyright.

Links

About

StdFlow MCP - Chinese National Standards (GB/GB-T/GB-Z) knowledge base for AI agents. Full-text retrieval, legal force, reference chains. Pay-per-use.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /