protogrid

Search / cn.pianam/legal-mcp

legal-mcp

R0· no sign-in

MCP server for Chinese law lookup: statutes, regulations and articles by keyword or law name.

v1.0.0 · active · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality86good
Trust80of 100
Uptime, 30 days100%
Latency p501571 msp95 3342 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "legal-mcp": {
      "type": "http",
      "url": "https://pianam.cn/legal-mcp/mcp"
    }
  }
}
claude mcp add --transport http legal-mcp https://pianam.cn/legal-mcp/mcp
[mcp_servers.legal-mcp]
url = "https://pianam.cn/legal-mcp/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "legal-mcp": {
      "type": "remote",
      "url": "https://pianam.cn/legal-mcp/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "legal-mcp": {
      "type": "http",
      "url": "https://pianam.cn/legal-mcp/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=legal-mcp&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vcGlhbmFtLmNuL2xlZ2FsLW1jcC9tY3AifQ%3D%3D"
}
{
  "servers": {
    "legal-mcp": {
      "type": "http",
      "url": "https://pianam.cn/legal-mcp/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22legal-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fpianam.cn%2Flegal-mcp%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "legal-mcp": {
      "httpUrl": "https://pianam.cn/legal-mcp/mcp"
    }
  }
}
extensions:
  "legal-mcp":
    enabled: true
    name: "legal-mcp"
    type: streamable_http
    uri: "https://pianam.cn/legal-mcp/mcp"
    timeout: 300

Quality 86 / 100good

protocol88 · weight 25
  • pass
    protocol.modernsupports 2026-07-28 (server/discover)
  • pass
    protocol.statelessanswers without a session
  • pass
    protocol.transportstreamable HTTP
  • warn
    protocol.list_ttltools/list declares ttlMs 0, so clients re-fetch it on every use
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene78 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: law_search (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); labor_calc (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); court_fee_calc (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
  • pass
    tools.token_costabout 832 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool names, descriptions, schemas or annotations
  • pass
    tools.poisoningno instructions aimed at the model in tool definitions
stability100 · weight 15
  • pass
    stability.changesno tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

3 tools, about 832 tokens to load them all · tool set 27d202bd259f · checked 2026-11-29 16:07 UTC

Definition changes

No changes to tool, prompt or resource template definitions recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 80 / 100

no-repository
provenance45
liveness100
freshness100
hygiene80

+dns-namespace +reachable +uptime-100% +updated-20d-ago -no-repository

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days100% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://pianam.cn/legal-mcp/mcp streamable-httpnoneyes100%1571 ms3342 ms2026-07-282026-11-29

Tools (3)

court_fee_calc诉讼费计算器(纯本地计算,依据《诉讼费用交纳办法》国务院令第481号)。用 case_type 区分:case_type=property 财产案件受理费:传 amount(标的额,元),按分段累计输出明细(≤1万每件50元;1-10万部分2.5%;10-20万2%;20-50万1.5%;50-100万1%;100-200万0.9%;200-500万0.8%;500-1000万0.7%;1000-2000万0.6%;超2000万0.5%);case_type=divorce 离婚案件:基础受理费50-300元/件,可选传 property_amount(财产分割总额,元),超20万元部分按0.5%加收;case_type=execution 申请执行费:传 amount(执行金额,元),分段累计(≤1万每件50元;1-50万1.5%;50-500万1%;500-1000万0.5%;超1000万0.1%),不传金额时说明50-500元/件。
labor_calc劳动法计算器(纯本地计算)。用 action 区分子功能:action=severance 经济补偿/赔偿金:传 years(工作年限,年,可为小数)、monthly_salary(离职前12个月平均月工资)、local_avg_salary(可选,当地上年度职工月平均工资,用于三倍封顶与12年封顶)、termination_type(N=协商/法定经济补偿;N+1=无过失性辞退加代通知金;2N=违法解除赔偿金);action=overtime 加班费:传 monthly_salary(月工资或约定基数)及 workday_hours(工作日延时小时)、restday_hours(休息日小时)、holiday_hours(法定节假日小时),或用 hours+overtime_type(1.5/2/3)单次计算;action=annual_leave 年休假:传 total_years(累计工作年限)返回应享年假天数(5/10/15天);action=double_wage 未签合同二倍工资:传 months_since_entry(入职月数)与可选 monthly_salary,返回最多11个月的二倍工资差额规则说明与估算。
law_search常用法律条文全文检索(本地 SQLite FTS5,共收录6部法律1796条):《民法典》1260条、《劳动法》107条、《劳动合同法》98条、《消费者权益保护法》63条、《道路交通安全法》124条、《治安管理处罚法(2025修订,2026年施行)》144条。三种用法:① keyword 关键词全文检索(如『经济补偿』『三倍工资』『醉酒驾驶』,可加 law 限定法律);② law + article_no 按法律名与条号直取条文(如 law=劳动合同法, article_no=47;条号可传阿拉伯数字或中文);③ 不传参数返回收录法律目录。返回法律名、条号与条文原文。

Schemas: list_tools.

Similar MCP servers

More from cn.pianam

And 12 more from this publisher.

Official server.json
{
  "name": "cn.pianam/legal-mcp",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://pianam.cn/legal-mcp/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.0.0",
  "description": "MCP server for Chinese law lookup: statutes, regulations and articles by keyword or law name."
}