Skip to main content
Glama
gov-policy-mcp

gov-policy-mcp

gov-policy-mcp

MCP server for China's State Council policy document library.

China publishes every State Council policy document (国务院文件) on gov.cn — but there is no public API and no documentation for its search backend. This server reverse-engineers the internal JSON endpoint and exposes it as an MCP tool, so an AI agent can look up official policy text and document numbers in one call.

You: 最近国务院关于人工智能出了哪些文件?
AI:  [calls search_policies → 743 hits, with document numbers, issuing bodies and links]

Tool

Tool

What it does

search_policies

Full-text search over the State Council policy library. Returns title, document number (文号), issuing body, publish date, category, summary and a link to the original page.

Parameters

Param

Type

Default

Notes

keyword

string

required

Chinese keyword, e.g. 人工智能 · 数据要素 · 新能源汽车

page

number

1

Page number

size

number

10

Records per page, 1–20

Related MCP server: chuance-policy-mcp

Install

git clone https://github.com/haiyangfang8-stack/gov-policy-mcp.git
cd gov-policy-mcp
npm install
npm run build

Configure your MCP client

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "gov-policy": {
      "command": "node",
      "args": ["/absolute/path/to/gov-policy-mcp/dist/index.js"]
    }
  }
}

Example output

搜索「人工智能」· 第 1 页 · 命中约 743 条

1. 国务院办公厅关于适应人工智能技术发展助力构建就业友好型发展方式的意见
   国办发〔2026〕29号 · 国务院办公厅 · 2026.10.23
   分类:劳动、人事、监察\劳动就业
   摘要:为贯彻落实党中央、国务院决策部署,就业是最基本的民生……
   https://www.gov.cn/zhengce/zhengceku/202610/content_7084108.htm

Known limits (upstream)

  • Search is keyword based — no boolean operators, no date range in this endpoint version.

  • Results include both exact and loose matches; the <em> highlight tags are stripped.

  • Chinese only. The upstream index does not handle English well.

  • Undocumented endpoint: if it breaks, the mapping lives in src/index.ts (SEARCH + the PolicyRecord mapping) and is a small fix.

  • ggzy-mcp — same pattern, applied to the national tender / procurement platform (全国公共资源交易平台).

Why this exists

Part of a small set of adapters that give AI agents access to Chinese data sources that have no API.

License

MIT

Available Tools

1 tool
search_policiesA

Search official policy documents (国务院文件/政策) in China's State Council policy library. Returns title, document number, issuing body, publish date, category, summary and a direct link to the original page on gov.cn.

Inputs: keyword (required), page, size.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion between tools. The single tool's purpose is clear and unambiguous.

    Naming Consistency5/5

    The sole tool follows a clear verb_noun pattern (search_policies) in consistent snake_case. With one tool there is no inconsistency to detect.

    Tool Count2/5

    A single search tool is thin for a policy-domain server; users would likely expect to retrieve a specific document by ID or browse by category, but only one operation exists.

    Completeness2/5

    Search is the only operation offered; there is no get-by-document-number, list-categories, or detail retrieval beyond the search summary. The surface is a single entry point with no follow-up paths.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables unified web search across multiple Chinese LLM providers (Kimi, Xiaomi MiMo, Zhipu GLM, and StepFun) via a single MCP tool, with configurable provider priority, automatic fallback, multi-source aggregation, timeouts, and retries.
      2
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search mainland China's national laws, administrative and local regulations, judicial interpretations, and Supreme People's Court guiding cases, and to retrieve metadata plus the original Chinese text of individual articles or full regulations and case narratives. Results carry issuing body, promulgation and effective dates, and in-force status, with keyless access and no fabricated snippets when a document can't be read.
      74 npm
      MIT