Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WHOIS MCP Serverlookup whois info for google.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WHOIS MCP Server
一个基于 Python 和模型上下文协议(MCP)实现的 WHOIS 查询服务器。提供 MCP 工具来查询域名的 WHOIS 信息。
功能特点
🌐 域名 WHOIS 信息查询
🔧 基于 FastMCP 框架
📡 支持 Chinaz API 接口
🛡️ 内置输入验证和错误处理
🚀 支持多种传输协议(stdio/sse)
快速开始
安装
使用
命令行方式
Python 代码方式
MCP 工具文档
whois_query
查询指定域名的 WHOIS 信息。
参数
domain(str): 要查询的域名,如 "example.com"
返回格式
使用示例
环境配置
API Key 设置
设置 Chinaz API Key 环境变量:
或在 Windows 中:
MCP 服务器配置
在 Claude Desktop 中配置
修改您的 claude-desktop-config.json 文件:
使用 uvx 运行
开发
从源码安装
运行测试
代码格式化
项目结构
依赖项
Python 3.8+
requests>=2.25.0
mcp>=1.0.0
fastmcp>=0.1.0
许可证
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
贡献
欢迎提交 Pull Requests 和 Issues!
在提交代码前,请确保:
代码符合 PEP 8 规范
添加适当的测试用例
更新相关文档
支持
如有问题,请通过 GitHub Issues 提交。