Skip to main content

Numvo

Phone number intelligence and spam-risk detection built with a reusable Python orchestration layer and MCP.

Architecture

Client / MCP Host
       ↓
    MCP adapter
       ↓
 Numvo service
       ↓
 ┌──────────────────────┐
 │ PhoneNumbersProvider │  metadata / validity
 │ FTCComplaintProvider │  complaint reputation
 │ IPQSProvider         │  fraud / abuse reputation
 └──────────────────────┘
       ↓
Normalize → aggregate → cross-validate → score → explain

What Numvo uses today

Phone metadata

phonenumbers provides number validity, region, carrier information when available, and number type. Metadata alone never makes a number spam.

FTC complaint reputation

Numvo can ingest the FTC Do Not Call complaint CSV data into a local SQLite index. Lookups are then performed by exact phone number without downloading complaint data during every request.

The FTC data is consumer-submitted complaint evidence. Numvo treats it as a signal, not absolute proof that a number is malicious.

IPQS reputation

If IPQS_API_KEY is configured, Numvo queries IPQualityScore for an independent reputation signal including fraud score, recent abuse, risky/spammer flags, and selected phone attributes.

Set the key before starting the MCP server:

export IPQS_API_KEY="your-key"
# Windows PowerShell:
# $env:IPQS_API_KEY="your-key"

The key is read from the environment and should not be committed to the repository.

Spam scoring

FTC complaint scoring considers:

  • total complaint count
  • complaints in the last 30 and 90 days
  • robocall ratio
  • whether complaints span multiple dates

IPQS contributes its fraud score plus risky, spammer, and recent-abuse signals.

When two independent reputation providers both produce strong evidence, Numvo applies an agreement boost. This makes multi-source confirmation stronger than a single provider result.

Risk labels are:

0-24   LOW
25-49  SUSPICIOUS
50-74  HIGH
75-100 VERY_HIGH

Confidence and explanations

Every Numvo result separates risk from confidence.

  • spam_score answers: how suspicious does the available evidence look?
  • confidence_score answers: how much independent reputation evidence supports that conclusion?

Confidence labels are:

0-19   VERY_LOW
20-49  LOW
50-79  MEDIUM
80-100 HIGH

The result also includes human-readable reasons, for example:

FTC complaint history: 31 reports
12 FTC complaints in the last 30 days
84% of FTC reports were robocall-related
IPQS fraud score: 94/100
IPQS identifies the number as a spammer
IPQS reports recent abuse activity
Two independent reputation sources show strong risk signals

This is intentionally explainable: a high risk score with very low confidence should be treated differently from a high risk score confirmed by multiple independent sources.

Development

python -m venv .venv
source .venv/bin/activate  # Windows: .venv\\Scripts\\activate
pip install -e ".[dev]"
pytest

Automatic FTC refresh

Numvo can now check recent FTC daily complaint files automatically and ingest any published rows into the local SQLite index.

Refresh the most recent 7 calendar days:

python scripts/refresh_ftc.py

Or choose a wider window:

python scripts/refresh_ftc.py --days 30

Numvo checks each date in the requested window. If the FTC has no file for a date, such as a weekend or non-published day, it records not_published and continues.

Downloaded files are cached under:

data/ftc_daily/

The SQLite index is stored at:

data/ftc_complaints.sqlite3

The refresh is safe to rerun: downloaded CSVs are reused and INSERT OR IGNORE prevents identical complaint rows from being duplicated.

You can still ingest a local FTC CSV manually:

python scripts/ingest_ftc_csv.py path/to/complaints.csv

MCP tools

The server exposes:

check_phone_number(phone_number)
normalize_number(phone_number)

check_phone_number() combines phone metadata, locally indexed FTC complaint evidence, and IPQS reputation when configured, then returns risk, confidence, reasons, and raw provider signals.

Status

Early development. Numvo now supports multi-source spam-risk cross-validation, explicit evidence confidence, human-readable explanations, and automatic FTC complaint-data refresh.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numvo-0.2.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numvo-0.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file numvo-0.2.0.tar.gz.

File metadata

  • Download URL: numvo-0.2.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for numvo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 516b49ebd14276b9a5e13354aba745f7c7862b426b332170aab5b36e037cd511
MD5 c0397a01a542f1ca1aa7e9fb15eac195
BLAKE2b-256 c50b5398a0b79e477d91a12691d1763049fd9ae5011c337f470bae42a120a8e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for numvo-0.2.0.tar.gz:

Publisher: release.yml on karthik1029/Numvo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file numvo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: numvo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for numvo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea63276646508256a4e5b1d2ed29c6f03fa42f034555e8d9f0dfe322dd078e68
MD5 c681a697f9ff4cb70717a64a42c75558
BLAKE2b-256 861037fe52ab51964bf3d870f6e288ec9b0206729c96d17b8ff5fcc27a4525b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for numvo-0.2.0-py3-none-any.whl:

Publisher: release.yml on karthik1029/Numvo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page