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

安装
你需要创建一个令牌 (token) 才能使用 IPInfo API。 如果你还没有令牌,可以在 https://ipinfo.io/signup 注册一个免费账户。
虽然每个客户端指定方式不同,但通常你会使用以下值:
字段 | 值 |
命令 |
|
参数 |
|
环境变量 |
|
开发版本
如果你想使用最新版本,可以直接从 GitHub 拉取服务器。
只需添加一个额外的 --from 参数:
字段 | 值 |
命令 |
|
参数 |
|
环境变量 |
|
Related MCP server: GeoIP MCP Server
组件
工具
get_ip_details: 获取一个或多个 IP 地址的详细信息,包括位置、ISP 和网络详情。输入:
ips(可选): 要分析的 IP 地址列表(IPv4 或 IPv6)。如果未提供,则分析请求客户端的 IP 地址。输出: 包含位置、组织、时区等的
IPDetails列表。注意: 批量查询(多个 IP)需要
IPINFO_API_TOKEN。
get_residential_proxy_info: 检查 IP 地址是否与住宅代理服务相关联。输入:
ip: 要检查住宅代理使用情况的 IP 地址。输出: 包含代理服务名称、最后可见日期和活动百分比的
ResidentialProxyDetails。注意: 需要具有住宅代理数据访问权限的
IPINFO_API_TOKEN。
get_map_url: 生成 IP 地址交互式地图可视化的 URL。输入:
ips: 要可视化的 IP 地址列表(最多 500,000 个)。输出: 指向 ipinfo.io 上显示地理位置的交互式地图的 URL。
注意: 对于可视化流量或用户的地理分布非常有用。
配置
环境变量
变量 | 描述 | 默认值 |
| 用于高级功能的 IPInfo API 令牌 | 无(仅限基础查询) |
| 缓存生存时间 (秒) | 3600 (1 小时) |
许可证
MIT 许可证 - 详情请参阅 LICENSE 文件。发布历史请参阅 CHANGELOG.md。
免责声明
本项目与 IPInfo 无关联。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) server that enables natural language interaction with the AbstractAPI geolocation service, allowing users to retrieve geographic information about IP addresses.
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides IP geolocation services using MaxMind's GeoIP2 databases, allowing users to retrieve geographical information for single or multiple IP addresses including country, city, coordinates, and ASN details.GPL 3.0
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the Netdetective API for querying information about IP addresses. It enables users to retrieve metadata for a specified IP address or the connecting client's default IP address.1MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for IP geolocation lookups using ipinfo.io, with single, own, and batch queries.1MIT
Related MCP Connectors
IPInfo MCP — wraps ipinfo.io (free tier, no auth required for basic usage)
IP Lookup MCP — ip-api.com (free, no auth for basic usage)
ip-api.com MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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