InternetData

io.github.internetdatav2.2.2更新于 Oct 3, 2026

List InternetData's IP and ASN databases, your license for each, what one holds, and its digests.

已验证Streamable HTTP可网页运行DatabasesData & Analytics

概览

AI 生成的概览

让助手查看 InternetData 的 IP 与 ASN 数据库目录、许可状态、元数据、校验值和下载历史。

功能
该服务器围绕 InternetData 发布的 IP 与 ASN 数据库提供四个只读工具:list_databases 返回所有数据库及你所在组织的许可状态、许可类型和期限;database_metadata 返回字段、示例行、行数、构建日期和文件大小;database_checksum 返回某个数据库文件的已发布摘要;list_downloads 返回最近的下载尝试,包括被拒绝的记录。它不下载数据库文件。
适用场景
当你需要确认所在组织对哪些 InternetData 数据库拥有许可、某个数据库包含什么内容、如何校验已持有的副本,或某次下载为何失败时,可以使用它。它是目录与许可查询工具,而不是获取数 GB 数据文件本身的方式。
运行要求
可以使用托管端点 mcp.internetdata.io 并以 InternetData 账户登录,也可以在本地用 Node.js 22 或更高版本运行 npm 包。本地方式需要具有 db.download 权限范围的 API 密钥,通过 INTERNETDATA_API_KEY 提供;INTERNETDATA_BASE_URL 可覆盖端点。不支持 MCP 授权的客户端可用 Authorization Bearer 头传递密钥。数据库按合同授权,不能自助购买。
安装前请注意
本地配置需要机密项 INTERNETDATA_API_KEY,它带有 db.download 权限范围,请勿放入共享配置或对话记录中。四个工具均为只读,不会写入、发送或删除数据,也不存在下载工具。list_downloads 会暴露你所在组织最近的下载尝试,包括被拒绝的记录及其 HTTP 状态,应视其输出为组织内可见的数据。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.internetdata.io/mcp"
    }
  }
}

README

[InternetData] InternetData MCP Server

[npm] [license]

The official Model Context Protocol server for the InternetData API.

InternetData publishes IP and ASN databases: geolocation, anonymity, ownership and network data, as gzipped CSV and as MMDB. This server gives an AI agent four read-only tools over them - every database we publish and where your organization's license for each one stands, what is inside one, the digests to verify a copy you already hold, and your recent download history.

Getting Started

We host it at https://mcp.internetdata.io/mcp, and you sign in to it with your InternetData account. It also runs on your own machine from npm. Either way it sees where your organization's license for each database stands. Databases are licensed by contract rather than bought self-serve: see the API documentation, or request an evaluation if your organization doesn't have a license yet.

In Claude

In claude.ai, the desktop app or Cowork, add https://mcp.internetdata.io/mcp as a custom connector and choose Use Claude's published identity when asked. In Claude Code, install our plugin, which adds the server with skills:

console
/plugin marketplace add internetdata/claude-plugin/plugin install internetdata@internetdata

Either way you sign in with your InternetData account, and Claude never sees your API key. The steps, the skills and how to disconnect: docs.internetdata.io/integrations/claude.

In any other MCP client

Point it at https://mcp.internetdata.io/mcp. A client that supports MCP authorization signs in the same way. One that doesn't can send a key instead, as Authorization: Bearer your-key.

On your own machine

You need an API key carrying the db.download scope. Add this to your MCP client's config:

json
{  "mcpServers": {    "internetdata": {      "command": "npx",      "args": ["-y", "internetdata-mcp"],      "env": { "INTERNETDATA_API_KEY": "your-key" }    }  }}

Requires Node.js 22 or newer. INTERNETDATA_BASE_URL overrides the endpoint if you need to point somewhere else.

Tools

ToolWhat it answers
list_databasesEvery database we publish, with its standing for your organization (licensed, expired or unlicensed) and the type and term of any license.
database_metadataA database's columns, sample rows, row count, build date and file sizes.
database_checksumThe published digests for one database file.
list_downloadsYour organization's recent download attempts, refusals included.

Every tool is read-only.

Two spellings of a database id

list_databases answers a base id and a versions array:

json
{  "base": "vpn_ip",  "standing": "licensed",  "versions": [{ "id": "vpn_ip_v1", "version": 1, "formats": ["csvgz", "mmdb"] }]}

The base is what a license names. versions[].id is what a download names, and it is the one database_metadata and database_checksum accept. The tools say so in their own descriptions, so an agent generally gets this right on its own; it is worth knowing when you read a transcript where one was refused.

There is no download tool, deliberately

The published builds run to several GB, which is not something an agent should pull into a conversation. database_metadata is how you find out what a transfer would cost, and the client libraries or the API are how you actually move the bytes.

Reading the download history

list_downloads is a bounded window - at most 200 attempts, newest first - and it lists refusals alongside successes, because a denial and its http_status are what answer "it stopped working". A database missing from the answer means it is not in that window, never that it was never fetched.

Other Libraries

There are official InternetData client libraries available for many languages including PHP, Python, Go, Java, and Ruby. See our GitHub at https://github.com/internetdata for more.

About InternetData

Geolocation, anonymity, ownership and network databases for IP addresses and AS numbers, licensed as files you download and query yourself.

[InternetData]

License

This project is licensed under the MIT License.

来源:README.md,提交 d1bc22b

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v2.2.2最新Oct 3, 2026