npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-homescan

v1.0.0

Published

MCP server for home network discovery and vulnerability scanning

Readme

MCP Homescan Server

npm version License: MIT MCP

MCP server for home network discovery and security scanning. Discovers devices on your local network, identifies manufacturers, flags potential security concerns, and exports to Obsidian inventory format.

Why Use This?

If you're managing a home or small office network, this MCP server lets you:

  • Discover all devices - Find everything connected to your network via ARP table scanning
  • Identify manufacturers - Automatic MAC address to manufacturer lookup
  • Flag security concerns - Identify unknown or potentially risky devices (IoT from certain regions, etc.)
  • Track changes - Detect new or removed devices between scans
  • Document your network - Export to markdown for Obsidian or other documentation systems

Features

| Category | Capabilities | |----------|-------------| | Discovery | ARP-based network scanning, ping sweep for comprehensive discovery | | Identification | MAC address manufacturer lookup, device categorization | | Security | Flag unknown devices, identify potential IoT risks | | Change Detection | Compare scans, track new/removed devices | | Export | Markdown and JSON formats, Obsidian-compatible inventory |

Prerequisites

  • Node.js 18+
  • macOS or Linux (uses arp command)
  • Network access to local subnet

Installation

Using npm (Recommended)

npx mcp-homescan

Or install globally:

npm install -g mcp-homescan

From Source

git clone https://github.com/aplaceforallmystuff/mcp-homescan.git
cd mcp-homescan
npm install
npm run build

Configuration

For Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "homescan": {
      "command": "npx",
      "args": ["-y", "mcp-homescan"],
      "env": {
        "HOMESCAN_SUBNET": "192.168.1"
      }
    }
  }
}

For Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "homescan": {
      "command": "npx",
      "args": ["-y", "mcp-homescan"],
      "env": {
        "HOMESCAN_SUBNET": "192.168.1"
      }
    }
  }
}

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | HOMESCAN_SUBNET | Network subnet to scan (e.g., 192.168.1) | 192.168.1 | | SHODAN_API_KEY | Optional Shodan API key for vulnerability lookups | - |

Usage Examples

Network Discovery

"Scan my home network for devices"

"What devices are on my network?"

"Refresh the network scan and show all devices"

Device Investigation

"What's the device at 192.168.1.34?"

"Look up the manufacturer for MAC address aa:bb:cc:dd:ee:ff"

Security Review

"Show me any flagged devices on my network"

"Are there any unknown devices I should investigate?"

Change Tracking

"Have any new devices appeared since the last scan?"

"Show me what's changed on my network"

Documentation

"Export my network inventory to markdown"

"Generate a network report"

Available Tools

| Tool | Description | |------|-------------| | homescan_discover | Discover all devices on the local network | | homescan_device | Get details for a specific device by IP | | homescan_mac_lookup | Look up manufacturer from MAC address | | homescan_report | Generate comprehensive network discovery report | | homescan_export | Export devices to markdown or JSON format | | homescan_diff | Compare current scan to previous, show changes | | homescan_flagged | List devices flagged for security review |

Development

# Watch mode for development
npm run watch

# Build TypeScript
npm run build

# Run locally
node dist/index.js

Troubleshooting

"No devices found"

Ensure you're on the same network segment and the subnet is configured correctly. Try running with refresh: true to perform a ping sweep first.

"Permission denied" errors

The ARP table may require elevated permissions on some systems. Try running with sudo if needed.

Devices missing from scan

Some devices may not respond to ARP queries. Use homescan_discover with refresh: true to ping sweep the network first.

Wrong subnet

Check your network configuration and update HOMESCAN_SUBNET to match your local network (common values: 192.168.1, 192.168.0, 10.0.0).

Security Notes

  • This tool only scans your local network
  • No data is sent externally (unless Shodan API is configured)
  • Flagged devices are recommendations only - verify before taking action

Roadmap

  • [ ] Shodan integration for CVE lookups
  • [ ] Pi-hole DNS query correlation
  • [ ] Port scanning (nmap-lite)
  • [ ] Baseline storage and alerting
  • [ ] Router DHCP lease integration

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

MIT - see LICENSE for details.

Links