npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mcpcn/mcp-phone-location

v1.0.9

Published

获取手机号归属地

Readme

MCP 服务:手机号码归属地查询 (mcp-phone-location)

版本 (Version): 0.1.0

描述 (Description)

mcp-phone-location 服务提供根据手机号码查询其归属地信息的功能,包括省份、城市和运营商。

可用工具 (Available Tools)

该服务提供以下工具:

1. query_phone_location

  • 描述 (Description): 根据手机号码查询其归属地信息(省份、城市、运营商)。
  • 输入参数 (Input Parameters):
    • phone_number (string, 必需): 需要查询的11位手机号码。
  • 输出结构 (Output Structure): 返回一个对象,其中包含查询结果。
    {
      "content": [
        {
          "type": "phoneLocationInfo",
          "province": "河北",
          "city": "保定",
          "carrier": "移动"
        }
      ],
      "isError": false,
      "errorMessage": ""
    }
    • content: 数组。如果查询成功,包含一个 phoneLocationInfo 对象;如果查询失败或号码无效,则可能为空数组或包含错误提示对象(具体视实现而定)。
      • type (string): 固定为 "phoneLocationInfo" (成功时)。
      • province (string): 号码归属的省份 (例如:"河北")。
      • city (string): 号码归属的城市 (例如:"保定")。
      • carrier (string): 号码所属的运营商 (例如:"移动", "联通", "电信")。
    • isError: 布尔值。false 表示请求成功且获取到有效数据,true 表示请求过程中发生错误、号码无效或未查询到信息。
    • errorMessage: 字符串。如果 isErrortrue,此字段可能包含具体的错误信息;如果请求成功,则为空字符串。

注意事项 (Notes)

  • 接口返回的数据中,省份、城市、运营商信息会经过 Unicode 解码处理。
  • 请确保提供的手机号码格式正确。