MCPcopy Index your code
hub / github.com/Merklemap/merklemap-cli

github.com/Merklemap/merklemap-cli @0.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.5.0 ↗ · + Follow
12 symbols 16 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MerkleMap CLI

A command-line interface (CLI) client for the merklemap API. This tool allows you to search / enumerate subdomains matching a given query and tail live subdomain discoveries from the Merklemap ingestion pipeline.

Features

  • Search for subdomains matching a specific query
  • Tail live subdomain discoveries in real-time

Installation

To install the MerkleMap CLI, you need to have Rust and Cargo installed on your system. If you don't have them installed, you can get them from rustup.rs.

Once you have Rust and Cargo installed, you can build and install the CLI by running:

cargo install merklemap-cli

This will compile the project and install the binary in your Cargo bin directory.

Usage

The MerkleMap CLI provides two main commands:

Search

To search for subdomains matching a query:

merklemap-cli search <QUERY>

Replace <QUERY> with your search term.

Tail

To tail live subdomain discoveries:

merklemap-cli tail

Output Format

Search Output

The search command outputs results in the following format:

domain=<domain> subject_common_name=<common_name> not_before=<timestamp> human_readable_not_before=<formatted_date>

Tail Output

The tail command outputs results in the following format:

hostname=<hostname> timestamp=<ISO8601_timestamp> human_readable_not_before=<formatted_date>

Development

To build the project:

cargo build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Extension points exported contracts — how you extend this code

Printable (Interface)
(no doc) [2 implementers]
src/lib.rs

Core symbols most depended-on inside this repo

print
called by 1
src/lib.rs
search
called by 1
src/lib.rs
tail
called by 1
src/lib.rs
main
called by 0
src/main.rs
process_event_stream
called by 0
src/lib.rs
format_timestamp
called by 0
src/lib.rs

Shape

Function 5
Class 4
Enum 1
Interface 1
Method 1

Languages

Rust100%

Modules by API surface

src/lib.rs9 symbols
src/main.rs3 symbols

For agents

$ claude mcp add merklemap-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact