A simple DNS query server exposing a website fetching tool
Project description
dns-query
A simple MCP server that exposes a DNS A record query tool.
Installation
pip install dns_query
Usage
Start the server using either stdio (default) or SSE transport:
# Using stdio transport (default)
run dns-query
# Using SSE transport on custom port
run dns-query --transport sse --port 8000
The server exposes a tool named "dns-query" that accepts one required argument:
domain: The domain name to query for A records
Usage in Claude Desktop
Add the following configuration to claude_desktop_config.json:
{
"mcpServers": {
"dns-query": {
"command": "dns-query",
"args": []
}
}
}
Dependencies
- anyio>=4.5
- click>=8.1.0
- dnspython>=2.7.0
- httpx>=0.27
- starlette>=0.46.2
- mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dns_query-0.1.0.tar.gz.
File metadata
- Download URL: dns_query-0.1.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f28e38a5c41f99f16b053408479da35767172bd37812e501b9a909ed9549927b
|
|
| MD5 |
daa6a75cd408d43b18b482dbc41012d5
|
|
| BLAKE2b-256 |
3f150035c39d9afb6a7f5d8b680c970d84e2294aba044000819f5a2c892e1f3f
|
File details
Details for the file dns_query-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dns_query-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5610208d456ed8262ee1cdc604935b2f35e4a6b46990563aee8e12882a485bf6
|
|
| MD5 |
cc497db6372487a2ea656f7dda712565
|
|
| BLAKE2b-256 |
620a32f531356bc71e2d12a83a76626e1f94bdc14ac7c815ab5993019c6f75ac
|