clr-macvendors-mcp

v1.1.0
clr-macvendors-mcp Checked 2 hours ago Published 3 months ago

An MCP server for MAC address vendor lookups and brand prefix search

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

macvendors_lookup

Look up the manufacturer/vendor of a device by its MAC address. Uses the macvendors.com API to identify the OUI (Organizationally Unique Identifier) from the first 3 octets of the MAC address. Note: Randomized MACs (Apple Private Wi-Fi Address, Android) won't resolve to a real vendor. Args: mac: MAC address in any format (e.g. "d4:57:63:72:1e:00", "D4-57-63-72-1E-00", "d457.6372.1e00", or just OUI "d4:57:63"). Returns: A dictionary with ``mac``, ``vendor``, and ``found`` keys. May also include an ``error`` key if rate-limited.

ParameterTypeDescription
mac *string

macvendors_bulk_lookup

Look up vendors for multiple MAC addresses. Rate-limited to 1 request/second per macvendors.com free tier. For large batches, this will be slow. Args: macs: List of MAC addresses in any format. Returns: A list of dictionaries, each with ``mac``, ``vendor``, and ``found`` keys. May also include an ``error`` key if rate-limited.

ParameterTypeDescription
macs *array

search_brand_prefixes

Search the IEEE OUI database for MAC prefixes belonging to a brand. Looks up all registered MAC address prefixes (OUI assignments) for a given manufacturer or organization name. Uses fuzzy substring matching so partial names work (e.g. ``"Cisco"`` matches ``"Cisco Systems, Inc"``). The local OUI database is automatically initialised on first use by downloading IEEE CSV files (~10 seconds). Args: brand: Organization or manufacturer name to search for (e.g. ``"Cisco"``, ``"Nokia"``, ``"Dell"``). Returns: A dictionary with ``brand`` (the query), ``count`` (number of match…

ParameterTypeDescription
brand *string

list_oui_brands

List organizations (brands) in the IEEE OUI database. Without a query, returns the top 100 organizations ranked by number of registered MAC prefixes. With a query, filters organizations by case-insensitive substring match. The local OUI database is automatically initialised on first use by downloading IEEE CSV files (~10 seconds). Args: query: Optional substring to filter organization names (e.g. ``"micro"`` matches ``"Microsoft"``). When ``None``, returns the top 100 by prefix count. Returns: A dictionary with ``query`` (the filter used), ``count`` (number of…

ParameterTypeDescription
query

update_oui_database

Download fresh IEEE OUI data and rebuild the local database. Fetches the latest MA-L, MA-M, MA-S, IAB, and CID registries from IEEE and rebuilds the local SQLite database. Takes approximately 10 seconds depending on network speed. This is a write operation: it modifies the local cache at ``~/.cache/clr-macvendors-mcp/oui.db``. Returns: A dictionary with ``status`` (``"updated"``) and ``path`` (filesystem path to the rebuilt database).