
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.
概覽
讓助理查看 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 標頭傳遞金鑰。資料庫以合約授權,無法自助購買。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 InternetData,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.internetdata.io/mcp"
}
}
}README
[InternetData] InternetData MCP Server
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:
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:
Requires Node.js 22 or newer. INTERNETDATA_BASE_URL overrides the endpoint if you need to point somewhere else.
Tools
Every tool is read-only.
Two spellings of a database id
list_databases answers a base id and a versions array:
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.
License
This project is licensed under the MIT License.
來源:README.md,提交 d1bc22b
工具
0版本歷史
1- v2.2.2最新Oct 3, 2026

