I Built an Open-Source Graph Tool to Investigate 296,000 Unwanted-Call Reports
Why I Built DropNet Most tools for investigating unwanted calls focus on individual phone numbers. But what happens when reported caller IDs constantly change? I wanted to explore whether looking at the relationships
Why I Built DropNet
Most tools for investigating unwanted calls focus on individual phone numbers. But what happens when reported caller IDs constantly change?
I wanted to explore whether looking at the relationships between phone numbers, numbering ranges, and carrier assignments could reveal useful patterns that a traditional list of numbers might miss.
That idea became DropNet, an open-source investigation tool built with Python, Relate, Cypher, and WebAssembly.
Live demo: https://ikooq.github.io/dropnet/
Source code: https://github.com/ikooq/dropnet
The Problem: Most Numbers Appear Only Once
I worked with 296,273 FTC Do Not Call complaint records, covering 248,930 unique reported phone numbers.
Approximately 92% of those numbers appeared only once in the dataset.
This creates a challenge for systems that rely entirely on previously reported numbers: a new caller ID might not match any existing entry, even if related number ranges have already attracted substantial complaint activity.
Instead of looking at each number independently, I wanted to explore its surrounding six-digit range.
What DropNet Does
DropNet connects complaint reports to phone numbers, six-digit numbering ranges, and NANPA-listed numbering assignments.
It lets you:
- Look up a reported phone number.
- Explore the surrounding range of up to 10,000 possible numbers.
- Visualize reported-number concentrations.
- Follow relationships between ranges and their listed holders.
- Investigate other flagged ranges associated with the same holder.
- Run Cypher queries directly in the browser.
- Access graph-backed evidence using MCP tools.
Here's the number-lookup interface:
You can try the demo yourself without installing anything:
https://ikooq.github.io/dropnet/#n=7719990716
Why Use a Graph Database?
The underlying relationships are naturally connected.
A simplified view looks like this:
FTC Complaint
|
v
Reported Number
|
v
Six-Digit Range
|
v
NANPA-Listed Holder
|
v
Other Related Ranges
Using Relate and Cypher, the application can explore these relationships without requiring users to manually join several datasets.
The full local graph also includes complaint categories, consumer states, rate centers, and thousand-number block assignments.
One detail I found particularly important is distinguishing the holder of a six-digit range from the assignee of a smaller thousand-number block.
Neither assignment identifies who actually placed a call.
Running the Graph in a Browser
I wanted people to try DropNet without installing Python or setting up a database server.
So I built a smaller public demonstration using Relate compiled to WebAssembly.
The browser demo supports number lookups, graph exploration, and Cypher queries.
The full local version uses Python and the larger graph dataset.
What the Evaluation Found
I evaluated whether including flagged number ranges helped match complaints filed after a historical split.
| Method | Share of later complaints matched |
|---|---|
| Previously reported numbers | 4.3% |
| Numbers plus DropNet geographic ranges | 14.3% |
| Numbers plus simple range-ranking baseline | 14.5% |
The important takeaway is that including ranges improved coverage compared with exact-number rules.
However, the simple range-ranking baseline performed slightly better than DropNet's ranking.
So I don't claim that my ranking algorithm is superior.
The value I want to explore is the connected evidence: which complaints contributed to a range being flagged, which holder is listed for it, and which other ranges share that holder.
These percentages describe matches against later complaint records. They do not measure prevented fraud, blocked calls, or harm avoided.
The evaluation methodology, underlying results, and limitations are documented here:
https://github.com/ikooq/dropnet/blob/main/docs/EVIDENCE.md
Connecting the Graph to AI Agents
DropNet also includes an MCP server that exposes graph-backed tools to AI agents.
For example, an agent can request evidence about a reported phone number rather than relying entirely on its own generated explanation.
The project includes tools for number assessment, carrier exploration, and read-only graph queries.
The important principle is that an agent should present the underlying evidence and uncertainty instead of declaring that a number or carrier is fraudulent.
Running DropNet Locally
The project requires Python 3.10 or later.
Clone the repository:
git clone https://github.com/ikooq/dropnet.git
cd dropnet
Create a virtual environment and install dependencies:
python -m venv .venv
On macOS or Linux:
source .venv/bin/activate
On Windows PowerShell:
.\.venv\Scripts\Activate.ps1
Then run:
python -m pip install -e .
python -m dropnet serve
Open:
The repository contains the dataset and additional instructions for testing and evaluating the project.
Important Limitations
This is not a system for automatically identifying scammers.
FTC complaints are unverified. Caller IDs can be spoofed, and telephone numbers can be ported between carriers.
A carrier listed as holding a range is not necessarily the organization responsible for the reported call.
The data also do not include legitimate calls, so the system cannot estimate how often legitimate callers would be affected by a range-based decision.
That's why DropNet is designed for human investigation and prioritization, not automatic blocking.
What's Next?
I'm interested in improving the interface, collecting feedback on the investigation workflow, and evaluating whether the graph actually helps human analysts make better decisions.
I would especially appreciate feedback on:
- The usefulness of the graph visualization.
- The clarity of the evidence presented for each number.
- The methodology and evaluation limitations.
- Improvements that would make the tool easier to use.
Try DropNet: https://ikooq.github.io/dropnet/
GitHub: https://github.com/ikooq/dropnet
Thanks for reading! I'd love to hear what you think.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.
