Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dns_query-0.1.0.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dns_query-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for dns_query-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f28e38a5c41f99f16b053408479da35767172bd37812e501b9a909ed9549927b
MD5 daa6a75cd408d43b18b482dbc41012d5
BLAKE2b-256 3f150035c39d9afb6a7f5d8b680c970d84e2294aba044000819f5a2c892e1f3f

See more details on using hashes here.

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

Hashes for dns_query-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5610208d456ed8262ee1cdc604935b2f35e4a6b46990563aee8e12882a485bf6
MD5 cc497db6372487a2ea656f7dda712565
BLAKE2b-256 620a32f531356bc71e2d12a83a76626e1f94bdc14ac7c815ab5993019c6f75ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page