Skip to main content
Glama
briandconnelly

IP Geolocation MCP Server

IP 地理位置 MCP 服务器

这是一个简单的模型上下文协议 (MCP)服务器,它使用ipinfo.io API 获取 IP 地址的详细信息。这些信息可以用来确定用户的大致位置以及他们使用的网络类型。

使用 mcp-server-ipinfo 的示例对话

安装

您需要创建一个令牌才能使用 IPInfo API。如果您还没有令牌,可以前往https://ipinfo.io/signup注册一个免费帐户。

要与 Claude 桌面一起使用,请将以下内容添加到claude_desktop_config.json文件的mcpServers部分:

    "ipinfo": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/briandconnelly/mcp-server-ipinfo.git",
        "mcp-server-ipinfo"
      ],
      "env": {
        "IPINFO_API_TOKEN": "<YOUR TOKEN HERE>"
      }
    }

Related MCP server: Geocoding MCP Server

成分

工具

  • get_ip_details :此工具用于获取有关 IP 地址的详细信息。

    • 输入: ip :要获取信息的 IP 地址。

    • 输出: IPDetails :一个 Pydantic 模型,包含有关 IP 的详细信息,包括位置、组织和国家/地区详细信息。

资源

不包含任何自定义资源

提示

不包含自定义提示

执照

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

免责声明

该项目与IPInfo无关。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/briandconnelly/mcp-server-ipinfo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server