IPGeolocation.io MCP Server

io.github.IPGeolocation由 GitHub 账号 IPGeolocation 发布v2.0.3更新于 Nov 5, 2026

IP geolocation, company, ASN/network, security, abuse, time zones, astronomy, currency, user agents.

概览

AI 生成的概览

IPGeolocation.io 官方服务器,让助手查询 IP 地理位置、归属、网络、安全、滥用联系人、时区、天文、货币和用户代理数据。

可以做什么
  • 查询单个 IP 或最多 250 个 IP 的地理位置、公司、ASN、网络、货币及安全与滥用数据
  • 检测单个或多个 IP 的 VPN、代理、Tor、机器人、托管和垃圾信息指标
  • 获取当前本地时间、在两个地点间换算时间,以及查询某日或最长 90 天范围的日月数据
  • 解析提供的用户代理字符串,获取浏览器、操作系统和设备信息,支持单条或批量
  • 读取大型已保存结果的剩余分页,无需再次调用 API
  • 返回运行该服务器的机器的公网 IP
适用场景
适合需要为 IP 地址补充位置、归属或威胁情报,查找滥用联系人,处理时区换算,或在分析与事件排查中解析用户代理字符串的场景。
运行要求
通过 npm 包以 stdio 在本地运行,需要 Node.js 22 或更高版本及 npx。多数工具需要在 IPGEOLOCATION_API_KEY 环境变量中提供 IPGeolocation.io API 密钥;get_my_ip 无需密钥。需要访问 IPGeolocation.io API 的网络连接。
安装前请注意
查询会把所请求的 IP 和用户代理字符串发送给 IPGeolocation.io,对方还会看到服务器机器的公网出口 IP。付费套餐和额度适用:调用会消耗额度,超时或响应过大可能在失败前已计费,重试前应先获得确认。不要把 IPGEOLOCATION_API_KEY 写入提交到仓库的配置。位置和威胁标记只是估算和线索,并非确证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 IPGeolocation.io MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

IPGeolocation.io MCP Server

[SafeSkill]

[npm version] [GitHub release] [MCP Registry] [Glama] [OpenSSF Scorecard] [Node.js] [License]

The official IPGeolocation.io MCP server provides 17 tools for accurate IP geolocation, company information, ASN and network data, IP security (VPN, proxy, Tor, bot, hosting and spam detection), abuse contacts, time zones, astronomy, currency data and user-agent parsing.

MCP (Model Context Protocol) connects your client to these tools. Your client or host must support launching a local command over stdio. See Install by Client for configuration examples.

Published version: 2.0.3.

The install commands follow npm's latest tag, including future major releases. Restart the server to load an update. Source and Docker installations need a rebuild.

ItemValue
Packageipgeolocation-io-mcp
Version2.0.3
Release date2026-11-05
Transportstdio
Node.js>=22

Quick Start

  1. Create a free IPGeolocation.io API key.
  2. Merge this entry into your client's private configuration, keeping any existing servers. See Install by Client for the configuration location. Cursor also has a one-click installer.
json
{  "mcpServers": {    "ipgeolocation": {      "command": "npx",      "args": ["-y", "ipgeolocation-io-mcp@latest"],      "env": {        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"      }    }  }}
  1. Reload the server or restart your client.
  2. Ask "Where is 8.8.8.8 located?"

Table of Contents

Install by Client

Requirements

  • Node.js 22 or later for npm/source installs, or a bundle host with a compatible Node.js runtime
  • npx available for the npm configuration examples
  • An IPGeolocation.io API key for most API tools

Use a supported Node.js release with its latest security updates.

get_my_ip requires no API key. The other 15 API tools require one. get_cached_result reads results already held in memory; use the same API key as the original lookup.

Sign up for a free IPGeolocation.io API key

Use a private user configuration or your client's secret/environment settings for the real key. Keep keys out of committed project configuration. Each client below uses the Quick Start server entry unless its format differs.

Codex CLI

Set IPGEOLOCATION_API_KEY in your private shell environment before running these commands. The variable reference keeps the key value out of the command you type and its shell history.

bash
codex mcp add ipgeolocation --env "IPGEOLOCATION_API_KEY=$IPGEOLOCATION_API_KEY" -- npx -y ipgeolocation-io-mcp@latestcodex mcp list

Start a new Codex session after adding the server.

Claude Desktop

Install the published server from its Claude Marketplace listing. In Claude Desktop, open Settings > Extensions > Browse extensions, find IPGeolocation.io MCP Server, and configure your API key during installation. See Anthropic's desktop extension guide. The directory distributes the approved published bundle; its refresh can lag GitHub Releases. Check the installed version, or download the versioned bundle below.

For manual npm configuration, open Settings > Developer > Edit Config in Claude Desktop. This opens claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Merge the Quick Start entry into mcpServers.

Fully quit and reopen Claude Desktop after saving. See the official local-server setup guide.

For clients that install MCP Bundles, download the published v2.0.3 .mcpb bundle from GitHub Releases. The bundle contains the server and its dependencies; its host still needs a Node.js 22+ runtime. Enter your API key when the host prompts for bundle configuration.

Cline

In Cline, open MCP Servers > Configure > Configure MCP Servers. Add the Quick Start entry under mcpServers in the settings JSON. Cline CLI uses ~/.cline/data/settings/cline_mcp_settings.json by default. See Cline's MCP guide.

Restart Cline after saving.

Cursor

One-click install:

[Add to Cursor]

Or add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects. See Cursor's MCP guide.

json
{  "mcpServers": {    "ipgeolocation": {      "type": "stdio",      "command": "npx",      "args": ["-y", "ipgeolocation-io-mcp@latest"],      "env": {        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"      }    }  }}

Restart Cursor after saving.

Cursor plugin

This repository includes a Cursor plugin for ipgeolocation-io-mcp. The plugin runs locally over stdio and requires Node.js 22 or later.

To install it locally, clone this repository into a new directory under ~/.cursor/plugins/local/, reload Cursor, and open Customize > Plugins.

  • Local plugin: set IPGEOLOCATION_API_KEY in the environment that launches Cursor. The plugin reads the key from that environment.
  • Marketplace install: set the key in the plugin's private configuration.

With an empty or unset API key, get_my_ip still works. API tools that require a key return a missing-key error without sending a request.

To load a local checkout in Cursor CLI:

bash
agent --plugin-dir /absolute/path/to/ipgeolocation-io-mcp

API requests that need a key use your account's plan and credits. The get_cached_result tool reads saved response pages without making another API request.

Install this server by only one method, because using more than one creates duplicate tool entries. You can keep any other servers in your existing configuration.

Windsurf / Cascade

In Cascade's ... (Actions) menu, choose Open MCP config file in the MCPs section. Merge the Quick Start entry into the file opened by your installed version; configuration paths vary by release. See the vendor's Cascade MCP guide for the active agent and configuration location in newer releases.

Save the file and reload the server in the client.

Kiro Powers

The Kiro Power provides 17 tools for IP geolocation, company information, ASN and network data, IP security (VPN, proxy, Tor, bot, hosting and spam detection), abuse contacts, time zones, astronomy, currency data and user-agent parsing. It runs ipgeolocation-io-mcp locally over stdio, follows npm's latest tag and requires Node.js 22 or later. Import the packaging/kiro folder through Powers > Add Custom Power and follow the setup guide to configure your private API key. Most tools require a key; access and credits depend on your plan.

VS Code / GitHub Copilot

Run MCP: Add Server from the Command Palette, choose a local command, and use npx -y ipgeolocation-io-mcp@latest. Choose Copilot Global for private user settings or .mcp.json for a portable workspace configuration. Add IPGEOLOCATION_API_KEY to the server's environment.

The portable .mcp.json format uses the top-level mcpServers object shown in Quick Start.

Use the server's Start action and approve its configuration when prompted. Existing .vscode/mcp.json files use a top-level servers object instead. See VS Code's MCP setup guide.

Glama

You can try the server on Glama directly. Only IPGEOLOCATION_API_KEY is required. Leave other environment variable fields empty unless you want to change cache, timeout, or output limits.

If you don't have a key yet, create a free IPGeolocation.io API key.

Any Other MCP Client

Use the ipgeolocation server entry from Quick Start in your client's configuration format. The client must support launching a local stdio process. A client that accepts only a remote MCP URL needs a hosted endpoint; this package supplies the server command.

Verify It Works

Try these after setup:

PromptExpected tool
Where is 8.8.8.8 located?lookup_ip
For IP 49.12.212.42, give me threat indicators, company, ASN, and city.lookup_ip with fields and include=security
Show threat indicators and the abuse contact email for 2.56.12.11.lookup_ip with include=security,abuse
For AS1, list upstream ASN numbers only.lookup_asn with include=upstreams
Convert 2026-03-07 09:30 from New York to Tokyo time.convert_timezone
Give sunrise times for Karachi from 2026-03-10 to 2026-03-15.get_astronomy_time_series
Parse this user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36parse_user_agent

Tools by Plan

Version 2.0.3 exposes 16 API tools and get_cached_result, a zero-credit page reader. Bulk tools accept 250 inputs by default; the effective ceiling is the lower of the two item-limit settings.

Listed costs apply to successful upstream requests. Cache hits and cached-page reads use no additional credits. The API's X-Credits-Charged response header establishes actual billing; see the credit rules.

Free Plan

The free plan provides 1,000 API credits per day. These 7 API tools provide their core data; get_cached_result also reads saved pages for 0 credits:

ToolCreditsWhat it does
lookup_ip1Location, time zone, currency, ASN for one IP
get_my_ip0Public IP of the machine running the server
lookup_currency1Currency and country metadata for one IP
get_timezone1Time zone by name, location, IP, airport code, or UN/LOCODE
convert_timezone1Convert time between two locations
get_astronomy1Sunrise, sunset, moonrise, moonset, twilight, moon phase for one date
get_astronomy_time_series1Daily astronomy data for a date range (up to 90 days)

Company details, network data, security, abuse contacts and bulk geolocation require a paid plan. lookup_company can return basic ASN ownership on Free, but not company details. On Free, include=* returns base IP data only; it does not unlock paid features. See the API plan documentation for current access rules.

Paid Plans

All 17 tools, including the zero-credit cached result reader. Paid plans also add network, company, and extended asn fields to lookup_ip, plus the include parameter for security, abuse, hostname, liveHostname, hostnameFallbackLive, user_agent, geo_accuracy, dma_code, or *.

ToolCreditsWhat it does
bulk_lookup_ip1 per IPBatch geolocation, 250 inputs by default
check_security2VPN, proxy, Tor, bot, spam, and threat flags
bulk_security_check2 per IPBatch threat checks
lookup_company1Company name and ASN holder for one IP
lookup_network1Route prefix, connection type, anycast status
parse_user_agent1Parse one UA string into browser, device, OS, engine
bulk_parse_user_agent1 per UABatch UA parsing, 250 strings by default
lookup_asn1ASN details, peers, upstreams, downstreams, routes, WHOIS
get_abuse_contact1Abuse contact emails, phone, address, route

Credit math for lookup_ip with include:

CombinationTotal credits
Base lookup1
include=security3
include=abuse2
include=* (Paid, unfiltered)4
include=* (Free, base only)1
include=security&fields=security2
include=abuse&fields=abuse1

For current plan details and pricing, see the IPGeolocation.io pricing page.

Tool Reference

The full reference lists parameters and response formats. These are the 17 available tools:

lookup_ip

IP location, company information, ASN and network data, with optional security and abuse details. Parameters.

bulk_lookup_ip

IP lookups in batches of up to 250 by default. Parameters.

get_my_ip

The public IP of the machine running the server. No API key or credits needed. Parameters.

check_security

VPN, proxy, Tor, bot, hosting, spam and other threat indicators for an IP. Parameters.

bulk_security_check

Security checks for a batch of IPs. Parameters.

get_timezone

Current local time and time zone details for a place. Parameters.

convert_timezone

Time conversion between two places. Parameters.

get_astronomy

Sun and moon data for one place and date. Parameters.

get_astronomy_time_series

Daily astronomy data for a date range of up to 90 days. Parameters.

parse_user_agent

Browser, operating system and device details from a supplied user-agent string. Parameters.

bulk_parse_user_agent

User-agent parsing for a batch of supplied strings. Parameters.

lookup_company

Company information and ASN ownership for an IP. Company details require a paid plan. Parameters.

lookup_currency

Currency and country metadata for an IP. Parameters.

lookup_network

Route prefix, connection type and anycast status for an IP. Parameters.

lookup_asn

ASN details, network relationships, routes and WHOIS data. Parameters.

get_abuse_contact

Abuse reporting contacts for an IP. Parameters.

get_cached_result

Remaining pages of a saved result, without another API call or additional credits. Parameters.

Prompt Examples

Ask for the information you need in your own words. Available data and credit use depend on your plan.

IP location is an estimate. Threat scores and VPN/proxy flags are signals to investigate, not a guarantee that traffic is safe or harmful. Missing or unknown values do not mean false.

Inspect IP threat indicators

  • Show the threat indicators and city for 49.12.212.42 so I can assess it against our network policy.
  • Check these IPs for VPN, proxy, Tor, bot, and spam indicators: 49.12.212.42, 2.56.12.11, 8.8.8.8
  • For 49.12.212.42, tell me the threat score, whether it is a cloud provider, and whether it looks like a relay.

Find who owns an IP

  • Who uses 1.1.1.1 and which ASN routes it?
  • For AS24940, list upstream ASN numbers only.
  • Is this IP anycast and what route prefix is announced for it: 1.1.1.1

Get abuse contacts

  • For IP 2.56.12.11, give me the abuse contact email, phone number, and organization.
  • I need the abuse contact for 1.0.0.0 and the network route involved.
  • For this IP, show me the abuse contact details only: 1.1.1.1

Time zone lookups and conversions

  • What time is it in Tokyo right now?
  • Convert 2026-03-07 09:30 from New York to Tokyo time.
  • What is the current local time at JFK airport?

Sunrise, sunset, and moon data

  • Give sunrise and sunset for London on 2026-06-21.
  • Show sunrise times in Karachi from 2026-03-10 to 2026-03-15.
  • For New York, give me moon phase and day length on 2026-07-17.

Parse user-agent strings

  • Parse this user agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9
  • Parse these user agents in bulk and tell me the browser, OS, and device type for each.
  • Does this user agent look like a crawler or bot? Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Example Answers and Tool Output

The examples illustrate the format; lookup data can change.

Single IP lookup

See the IP lookup example.

Time conversion

See the time conversion example.

Abuse contact

See the abuse contact example.

Error Codes

Errors explain what failed and suggest a next step. Start with Troubleshooting for common problems, or see the error reference when handling errors in code.

A failed or cancelled request may already have used API credits. Check the error guidance before retrying. For bulk results, retry only eligible failed inputs; successful inputs do not need another lookup.

How It Works

Your MCP client starts this server as a local process and makes its tools available in your conversation. The server checks each request, then returns a cached result or calls the IPGeolocation.io API.

Lookups send the requested inputs to IPGeolocation.io. Cached results stay in memory; your client or host controls its own configuration and logs. See the Security Policy for data handling.

When you omit an IP address, tools that support this use the server machine's public IP. That can differ from your own IP. Security tools return IP intelligence; they do not run the separate browser-based Real-Time Proxy & VPN Detection service.

Caching

Most lookup results are cached for five minutes by default. Reusing a cached result costs no additional API credits. Current-time tools (get_timezone, convert_timezone, get_astronomy) and get_my_ip always call the API.

Saved pages remain available for five minutes after the last successful page read by default. Cached data can also disappear when the cache fills or the server restarts. Reading an unavailable page costs no credits, but repeating the original lookup can use credits again.

force_refresh: true requests fresh data and can use credits. See the cache reference for expiry, shared results and refresh rules.

Environment Variables

Most users only need to set IPGEOLOCATION_API_KEY in their client's private server settings. Leave optional settings unset unless you need to change the defaults.

SettingDefaultPurpose
IPGEOLOCATION_API_KEYNot setYour API key; required for all API tools except get_my_ip.
IPGEOLOCATION_REQUEST_TIMEOUT_MS15000 (15 seconds)How long to wait for an API response.
IPGEOLOCATION_MCP_CACHE_TTL_MS300000 (5 minutes)How long to keep lookup results and idle result pages.

The configuration reference lists all settings, limits and allowed values. Larger limits can require more memory.

Cached Result Pagination

Large results can arrive in pages. The get_cached_result tool reads the remaining pages without another API call or additional credits. It also costs nothing if a page is unavailable.

Keep the same server process and API key while reading pages. Saved pages expire after five minutes without a successful read by default, and the cache can remove them sooner if it fills. If the full result is too large to save, the lookup returns an error without a page cursor; the API may already have used credits.

For client developers, the pagination reference explains the page fields and includes a complete retrieval example.

Building from Source

See Building from Source for build commands and MCP Inspector setup. Source installations run the code in your checkout, including any unreleased changes.

Docker

bash
docker build -t ipgeolocation-mcp .docker run --rm -i -e IPGEOLOCATION_API_KEY ipgeolocation-mcp

Set IPGEOLOCATION_API_KEY in your private shell environment first. The image includes Node.js and runs as the unprivileged node user. Docker's -i flag keeps stdin open for MCP messages. Omit -t so the protocol uses ordinary stdin/stdout.

Rebuild the image when you update the source or need a newer runtime.

After building the image, configure a local-command MCP client with:

json
{  "mcpServers": {    "ipgeolocation": {      "command": "docker",      "args": ["run", "--rm", "-i", "-e", "IPGEOLOCATION_API_KEY", "ipgeolocation-mcp"],      "env": {        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"      }    }  }}

Testing

See Testing for the offline suite and separate live API checks. Live checks can use credits.

Troubleshooting

Client uses an old tool after updating: Restart the server process and check its version in your client's MCP connection details. Compare it with the latest npm version. Rebuild source and Docker installations before restarting them.

API key not configured: Set IPGEOLOCATION_API_KEY in your client's server configuration. This local error has no HTTP status and makes no upstream request.

401 errors: The API rejected the key or requested capability. Check that the key is active and the plan supports the tool. Domain lookups in lookup_ip also require a paid plan.

423 errors: Use a public routable IP. Private/bogon addresses such as 10.0.0.1 and reserved documentation addresses such as 203.0.113.42 cannot be used as successful geolocation examples.

Network requires a proxy: See the proxy setup instructions for supported Node.js versions and settings.

Timeout: Check the connection and the error guidance before retrying; the API may already have used credits. If requests need longer, adjust IPGEOLOCATION_REQUEST_TIMEOUT_MS within the allowed range.

Redirect blocked: The server received an unexpected HTTP redirect and stopped before forwarding credentials or request data. Do not retry automatically. Investigate the API endpoint or contact support with the sanitized error.

Cached result unavailable: The cursor belongs to another key or process, or the snapshot expired or was evicted. The failed page read made no API call. A new lookup can consume credits.

Resource limit: Check the error's guidance before trying again. The server rejects oversized tool arguments before making an API request. A response can exceed a limit after the API has used credits. Another lookup can use more credits. Reducing displayed fields does not always reduce the API response size. If you received a page cursor, use get_cached_result to read the remaining data without another API request. Raise limits only when the server has enough memory.

Client asks for an MCP URL: This package supplies a local stdio command. Use a client or host that can launch it; a remote-only connector needs a hosted MCP endpoint.

Pricing

For current plan details, credits, and pricing, see the IPGeolocation.io pricing page.

Links

License

MIT

Privacy Policy

API lookups send the requested inputs to IPGeolocation.io, which also receives the server machine's public egress IP. The server caches results in process memory. Your MCP client or hosting provider controls its own configuration and log storage. See the Security Policy for retention details and the IPGeolocation.io Privacy Policy for provider handling.

来源:README.md,提交 fce9630

工具

17

lookup_ip

IP Geolocation Lookup

Read-only unified IP lookup via GET /v3/ipgeo. Base IP data costs 1 credit; security adds 2 and abuse adds 1. Selecting only security costs 2, only abuse costs 1, and security plus abuse without base data costs 3 credits. The unified response can cover multiple data domains for one IP or domain: location, company, ASN, network, timezone, currency, security, abuse, user_agent, hostname, geo_accuracy, and dma_code. Returns root IP/domain data plus selected objects such as location, country_metadata, currency, asn, network, company, time_zone, security, abuse, user_agent, or hostname. geo_accuracy adds location.accuracy_radius, location.confidence, and location.locality; dma_code adds location.dma_code. Free plans support core location, country_metadata, currency, time_zone, basic ASN, fields, and excludes; paid plans add domain lookup, company, network, extended ASN, non-English lang, and include modules. ip omitted means the server's public egress IP. IP location is an estimate, not a precise device position. fields/excludes accept comma-separated dot paths; ip is always returned and unknown excludes do not error. Explicit include tokens keep their modules even when fields omits them; fields can select their nested paths and excludes can remove nested paths. A root requested by an explicit include cannot be excluded as a whole; other roots named by fields can be excluded. include=* follows fields/excludes without this explicit-token protection and returns only plan-entitled data, including core data on Free. The user_agent module describes the server's outbound HTTP User-Agent, not a visitor browser associated with the IP. This server auto-adds include modules referenced by fields, including optional location fields. lookup_asn provides ASN relationships, routes, and WHOIS; check_security and get_abuse_contact provide dedicated security and abuse responses.

输入参数iplangfieldsincludeexcludesforce_refresh

bulk_lookup_ip

Bulk IP Geolocation

Read-only bulk IP lookup via POST /v3/ipgeo-bulk. Documented as paid-only; the upstream API determines plan access. Base IP data costs 1 credit per valid IP; security adds 2 and abuse adds 1. Selecting only security costs 2, only abuse costs 1, and security plus abuse without base data costs 3 per valid IP. This MCP server accepts up to 250 IPs per request. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream body above its byte limit, or a required pagination snapshot too large to retain, returns a non-retryable resource_limit error with no cursor; the API may already have used credits. The response covers location data or mixed IP data domains for multiple IPs or domains. Private, bogon, and malformed IPs are not billed. fields, excludes, lang, and include behave like lookup_ip for each item; this server also infers include modules from fields. bulk_security_check provides dedicated security-only batch responses.

输入参数ips必填langfieldsincludeexcludesforce_refresh

get_my_ip

Get My IP Address

Returns the public IP address of the machine running this MCP server via GET /v3/getip. Takes no input parameters and requires no API key, account, or credits. Text content contains the IP address; structuredContent contains { ip }. This is not geolocation data. lookup_ip provides location, company, ASN, network, time zone, currency, security and abuse data.

无需输入参数。

lookup_company

Company/Organization Lookup

Read-only ownership lookup via GET /v3/ipgeo. Company details require a paid plan; free plans return basic ASN ownership only. Cost: 1 credit. This response is limited to company and ASN ownership; lookup_ip can return ownership together with location, security, abuse, network, timezone, or currency. Returns { company, asn }: company name/type/domain plus ASN allocation fields when available. ip omitted means the server's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数ipforce_refresh

lookup_currency

Currency and Country Metadata

Read-only currency and country metadata lookup via GET /v3/ipgeo. Works on free and paid plans. Cost: 1 credit per successful lookup. Returns { currency, country_metadata }: currency code/name/symbol plus country calling_code, tld, and languages. ip selects the IP used to derive country and currency; omit it for the server machine's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits. This response is limited to currency and country metadata. lookup_ip can return these fields together with other IP data.

输入参数ipforce_refresh

lookup_network

Network/Routing Info

Read-only network lookup via GET /v3/ipgeo. Network details require a paid plan. Cost: 1 credit. Returns { network } with route CIDR prefix, connection_type, and is_anycast. If the API omits network data, returns a local error without inventing an HTTP status; credits may already have been used. ip omitted means the server's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits. This response is limited to network data; lookup_ip can return network data together with location, company, ASN, timezone, currency, security, or abuse.

输入参数ipforce_refresh

check_security

VPN/Proxy/Threat Detection

Read-only security lookup via GET /v3/security. Paid only. Cost: 2 credits. This endpoint is dedicated to security and threat data; lookup_ip with include=security provides security data together with location, company, ASN, network, timezone, currency, or abuse. Returns { ip, security } with threat_score, VPN, proxy, residential proxy, Tor, relay, anonymity, bot, spam, known attacker, and cloud-provider fields; provider names, confidence scores, and last_seen dates appear when available. fields/excludes accept comma-separated security.* dot paths; ip is always returned. Threat scores and flags are indicators, not a safety guarantee; missing or unknown data is inconclusive. This queries IP intelligence, not the separate live browser detection API. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数ipfieldsexcludesforce_refresh

bulk_security_check

Bulk Security Check

Read-only bulk security lookup via POST /v3/security-bulk. Paid only. Cost: 2 credits per valid IP. This MCP server accepts up to 250 IPs; private, bogon, and malformed IPs are not billed. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream body above its byte limit, or a required pagination snapshot too large to retain, returns a non-retryable resource_limit error with no cursor; the API may already have used credits. This endpoint is dedicated to security-only batches; bulk_lookup_ip with include=security provides security data together with geolocation or other IP domains. Returns one { ip, security } result per valid IP. fields/excludes accept security.* dot paths per item. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数ips必填fieldsexcludesforce_refresh

get_timezone

Timezone Lookup

Read-only timezone lookup via GET /v3/timezone. Works on free and paid plans. Cost: 1 credit. This endpoint provides current local time and metadata for one place, IP, airport, UN/LOCODE, or IANA timezone; convert_timezone provides source-to-destination conversion. Returns { time_zone } plus selector context such as location, airport, city, or ip. time_zone includes the zone name, current time, UTC offsets, date/time variants, abbreviations, and DST status/transition fields when available. Selector priority is tz, lat/long, location, ip, iata_code, icao_code, then lo_code. lat and long must be provided together. lang only changes location fields; non-English lang is paid-only and returns 401 on free plans.

输入参数iptzlatlanglonglo_codelocationiata_codeicao_code

convert_timezone

Timezone Conversion

Read-only time conversion via GET /v3/timezone/convert. Works on free and paid plans. Cost: 1 credit. The conversion requires one source selector and one destination selector; get_timezone provides a single place's current time and metadata. Source/destination selectors are tz_from/tz_to, location_from/location_to, iata_from/iata_to, icao_from/icao_to, locode_from/locode_to, or lat_from+long_from and lat_to+long_to. time is optional and must be yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss. Returns original time, converted time, diff_hour, and diff_min.

输入参数timetz_tolat_toiata_toicao_tolong_totz_fromlat_fromiata_fromicao_fromlocode_tolong_from另有 3 个

get_astronomy

Astronomy Data

Read-only single-date astronomy lookup via GET /v3/astronomy. Works on free and paid plans. Cost: 1 credit. This endpoint covers one date or real-time sun/moon position; get_astronomy_time_series provides daily sunrise, moon, and twilight data across a date range. Returns { location, astronomy } plus ip for IP/server-address lookups. astronomy includes date/current_time, sunrise/sunset, moonrise/moonset, twilight blocks, day_length, sun/moon position, distance, status, moon_phase, moon_illumination_percentage, and moon_angle. Selector priority is lat/long, location, ip, then the server's public egress IP when no selector is provided. lat and long must be provided together; date must be YYYY-MM-DD; elevation is in meters, with a maximum of 10000; negative values are treated as 0. time_zone changes timestamp formatting to include full dates. lang only changes location fields; non-English lang is paid-only and returns 401 on free plans.

输入参数iplatdatelanglonglocationelevationtime_zone

get_astronomy_time_series

Astronomy Time Series

Read-only daily astronomy series via GET /v3/astronomy/timeSeries. Works on free and paid plans. Cost: 1 credit per request. This endpoint covers date ranges up to 90 days; get_astronomy provides one-date and real-time sun/moon data. Returns { location, astronomy: [...] } with one daily item per date containing sunrise/sunset, moonrise/moonset, twilight blocks, day_length, sun/moon status, and moon_phase. Selector priority is lat/long, location, ip, then the server's public egress IP when no selector is provided. dateStart and dateEnd are required YYYY-MM-DD values with a maximum 90-day span. lat and long must be provided together; elevation is in meters, with a maximum of 10000; negative values are treated as 0. time_zone changes timestamp formatting to include full dates. lang only changes location fields; non-English lang is paid-only and returns 401 on free plans. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数iplatlanglongdateEnd必填locationdateStart必填elevationtime_zoneforce_refresh

lookup_asn

ASN Details

Read-only ASN enrichment via GET /v3/asn. Paid only. Cost: 1 credit. Queries accept asn or ip, with asn taking priority. The response covers ASN relationships, route prefixes, allocation details, and WHOIS; lookup_ip provides basic ASN data together with geolocation. Returns { asn } core fields plus included peers, downstreams, upstreams, routes, or whois_response. include accepts those five values. fields/excludes accept full asn.* paths or root-relative paths such as upstreams.as_number. fields automatically enables required optional datasets; excludes alone never requests extra datasets. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数ipasnfieldsincludeexcludesforce_refresh

get_abuse_contact

Abuse Contact Lookup

Read-only abuse contact lookup via GET /v3/abuse. Paid only. Cost: 1 credit. This endpoint is dedicated to abuse contact data; lookup_ip with include=abuse provides abuse data together with location, security, company, ASN, timezone, network, or currency. Returns { ip, abuse } with route, country, name, organization, kind, address, emails, and phone_numbers for reporting abuse. fields/excludes accept comma-separated abuse.* paths such as abuse.emails; ip is always returned. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数ipfieldsexcludesforce_refresh

parse_user_agent

User-Agent Parser

Read-only custom user-agent parsing via POST /v3/user-agent. Paid only for POST payload parsing. Cost: 1 credit per successful string. Parses only the explicit uaString value; it cannot read caller headers or transport metadata. Returns { user_agent_string, name, type, version, version_major, device, engine, operating_system }. Type fields can identify desktop/mobile clients, robots, malformed or scripted strings, anonymized strings, or unknown values. uaString must be the exact non-empty user-agent string; empty/null strings are rejected locally before any API call. force_refresh bypasses cached data, makes a new upstream request, and can consume credits. bulk_parse_user_agent handles multiple strings.

输入参数uaString必填force_refresh

bulk_parse_user_agent

Bulk User-Agent Parser

Read-only bulk user-agent parsing via POST /v3/user-agent-bulk. Paid only. Cost: 1 credit per successful string. This MCP server accepts up to 250 explicit user-agent strings. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream body above its byte limit, or a required pagination snapshot too large to retain, returns a non-retryable resource_limit error with no cursor; the API may already have used credits. Returns one parsed object per string with user_agent_string, name, type, version, version_major, device, engine, and operating_system. uaStrings must be a non-empty array of exact user-agent strings; empty/null strings are rejected locally before any API call. parse_user_agent handles a single string. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.

输入参数uaStrings必填force_refresh

get_cached_result

Read Cached Result Page

Returns one page of a previously returned result using page.cursor or page.next_cursor. Costs 0 credits and never calls any upstream API, including on failure. The json_fragment strings concatenate in offset order into the complete original structuredContent JSON, including nested arrays and bulk item errors. The last page has no next_cursor. Cursors are scoped to the same API key and server process. Successful reads extend idle expiry by the configured cache TTL (five minutes by default); eviction or restart can remove a result. An unavailable cursor returns a local error and never starts another paid lookup.

输入参数cursor必填

版本历史

4
  1. v2.0.3最新Nov 5, 2026
  2. v2.0.2Oct 29, 2026
  3. v2.0.1Oct 11, 2026
  4. v2.0.0Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分