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)
dns-query

# Using SSE transport on custom port
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.1.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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file dns_query-0.1.1.tar.gz.

File metadata

  • Download URL: dns_query-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9be9b994bb206f83c9cc3c32a4de670edcbcc269ccc51be32a207e83fb825b13
MD5 b5e3458ab68a261edd6a1861de73904b
BLAKE2b-256 4ebb1a862710bc38f3dab8443646cded772d9953e176f83264b83651d597e7ed

See more details on using hashes here.

File details

Details for the file dns_query-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dns_query-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f0030a80a79005e09aaff2ec95b8aa9808bccdc54e4b52d4ec958307111f2a8
MD5 6f18011442a65152974bb27edb0d1a1d
BLAKE2b-256 a153a3e79cc06d957971ea2a612f3e828330c7708b155381a3ca8a05114f2909

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