IP Geolocation MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables installation directly from GitHub repository, providing version control and distribution of the MCP server through git commands.

  • Uses Pydantic models to structure and validate IP geolocation data, including location, organization, and country details returned from the ipinfo.io API.

IP 地理位置 MCP 服务器

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

安装

您需要创建一个令牌才能使用 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>" } }

成分

工具

  • get_ip_details :此工具用于获取有关 IP 地址的详细信息。
    • 输入: ip :要获取信息的 IP 地址。
    • 输出: IPDetails :一个 Pydantic 模型,包含有关 IP 的详细信息,包括位置、组织和国家/地区详细信息。

资源

不包含任何自定义资源

提示

不包含自定义提示

执照

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

免责声明

该项目与IPInfo无关。

You must be authenticated.

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

模型上下文协议服务器使用 ipinfo.io API 检索有关 IP 地址的详细地理信息,帮助确定用户位置和网络详细信息。

  1. Installation
    1. Components
      1. Tools
      2. Resources
      3. Prompts
    2. License
      1. Disclaimer
        ID: pll7u5ak1h