MCP server for China administrative divisions: province/city/district lookup, adcode resolution and
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
中国行政区划查询(GB/T 2260,省/市/区县三级约 4100 条,含邮政编码与长途区号):支持按名称关键词(如 南山、青岛、凉山)查、按 6 位区划码精确查(如 440305)、按 6 位邮编反查(如 266001)、按长途区号反查(如 0532);可用 level 限定省/市/区县层级。
区划码(2/4/6 位,如 110105),精确查询
可选层级过滤:省 / 市 / 区县
返回条数上限,默认 20,最大 100
地区名称关键词(省/市/区县名,如 朝阳、深圳、凉山彝族自治州)
长途区号(如 010、0571),反查地区
6 位邮政编码(如 100010),反查地区
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http region-mcp https://pianam.cn/region-mcp/mcp
中国行政区划查询(GB/T 2260,省/市/区县三级约 4100 条,含邮政编码与长途区号):支持按名称关键词(如 南山、青岛、凉山)查、按 6 位区划码精确查(如 440305)、按 6 位邮编反查(如 266001)、按长途区号反查(如 0532);可用 level 限定省/市/区县层级。
| Argument | Type | Description |
|---|---|---|
| code | any | 区划码(2/4/6 位,如 110105),精确查询 |
| level | any | 可选层级过滤:省 / 市 / 区县 |
| limit | integer | 返回条数上限,默认 20,最大 100 |
| query | any | 地区名称关键词(省/市/区县名,如 朝阳、深圳、凉山彝族自治州) |
| tel_code | any | 长途区号(如 010、0571),反查地区 |
| zip_code | any | 6 位邮政编码(如 100010),反查地区 |
{
"type": "object",
"properties": {
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "区划码(2/4/6 位,如 110105),精确查询"
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "可选层级过滤:省 / 市 / 区县"
},
"limit": {
"type": "integer",
"default": 20,
"description": "返回条数上限,默认 20,最大 100"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "地区名称关键词(省/市/区县名,如 朝阳、深圳、凉山彝族自治州)"
},
"tel_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "长途区号(如 010、0571),反查地区"
},
"zip_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "6 位邮政编码(如 100010),反查地区"
}
},
"additionalProperties": false
}解析 18 位中国大陆居民身份证号:按 GB 11643-1999 校验位算法验证合法性,返回归属地(省/市/区,含邮编区号)、出生日期、实足年龄、生肖、星座、性别。非法号码返回具体错误原因(校验位错误/格式错误/出生日期非法等)。
| Argument | Type | Description |
|---|---|---|
| id_number* | string | 18 位身份证号(末位可为 X),仅做本地算法校验,不联网 |
{
"type": "object",
"required": [
"id_number"
],
"properties": {
"id_number": {
"type": "string",
"description": "18 位身份证号(末位可为 X),仅做本地算法校验,不联网"
}
},
"additionalProperties": false
}解析 11 位中国大陆手机号:返回运营商(中国移动/中国联通/中国电信/中国广电/虚拟运营商,含物联网卡等细分类型)、归属地省/市、邮编与长途区号。号段库含约 49.7 万个号段(2023 年公开数据)。
| Argument | Type | Description |
|---|---|---|
| phone* | string | 11 位手机号(支持含空格/连字符输入,自动提取数字) |
{
"type": "object",
"required": [
"phone"
],
"properties": {
"phone": {
"type": "string",
"description": "11 位手机号(支持含空格/连字符输入,自动提取数字)"
}
},
"additionalProperties": false
}解析中国大陆机动车号牌:支持普通蓝牌/黄牌(7 位,如 鲁B12345、京A12345)与新能源绿牌(8 位,如 粤BD12345、沪AD12345),返回省份、发牌地市、是否新能源及动力类型(D 纯电动 / F 插混或燃料电池);内置全国 31 省简称与 392 个地市字母代码表。
| Argument | Type | Description |
|---|---|---|
| plate* | string | 车牌号,如 鲁B12345(普通)、粤BD12345(新能源小型)、京A12345 |
{
"type": "object",
"required": [
"plate"
],
"properties": {
"plate": {
"type": "string",
"description": "车牌号,如 鲁B12345(普通)、粤BD12345(新能源小型)、京A12345"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 9, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.