mcp-osint
Checks whether a username exists on Codeberg and returns public profile presence metadata as part of username_search.
Checks Docker Hub for username/account presence and public profile metadata as part of username_search.
Checks public GitHub account presence for usernames and public GitHub matches for email addresses as part of passive OSINT, without SMTP probing.
Checks GitLab username presence and public profile metadata as part of username_search.
Looks up public Gravatar profiles by email hash and checks Gravatar username presence as part of passive email and username OSINT.
Checks Hugging Face username presence and public profile metadata as part of username_search.
Checks Keybase username presence and public profile metadata as part of username_search.
Checks Launchpad username presence and public profile metadata as part of username_search.
Checks Medium username presence and public profile metadata as part of username_search.
Checks npm username presence and public profile metadata as part of username_search.
Checks Packagist username presence and public profile metadata as part of username_search.
Checks PyPI username presence and public profile metadata as part of username_search.
Checks Reddit username presence and public profile metadata as part of username_search.
Checks RubyGems username presence and public profile metadata as part of username_search.
Checks Wikipedia username presence and public profile metadata as part of username_search.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-osint Run a passive OSINT investigation on example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-osint
A free, zero-API-key passive OSINT TypeScript library and Model Context Protocol (MCP) stdio server.
All OSINT protocol logic is built directly into mcp-osint using native Node.js APIs (node:dns, node:net, node:tls, node:crypto, built-in fetch) and open public standards (IANA RDAP, port-43 WHOIS, DNS/DoH, Certificate Transparency, Team Cymru DNS ASN, Gravatar, OpenPGP WKD, and keyless open-web APIs). Run it locally over stdio with Claude Code, OpenAI Codex CLI, Qoder, Cursor, Claude Desktop, or import it directly as an npm library in your TypeScript/JavaScript projects—no accounts, subscriptions, or API keys required.
Highlights
100% Zero API Keys: Every tool runs out of the box with no environment variables or paid services.
Dual Distribution: Use it as a standalone MCP stdio server (
npx -y mcp-osint) or as a side-effect-free TypeScript/JavaScript library (import { ... } from 'mcp-osint').9 Focused Passive OSINT Tools:
domain_registration— IANA RDAP bootstrap lookup with native TCP port-43 WHOIS referral fallback, dates, age/expiry, EPP statuses, DNSSEC, and GDPR redaction detection.dns_email_posture— Full DNS (A,AAAA,CNAME,MX,NS,TXT,SOA,CAA), SPF RFC 7208 lookup-limit evaluation, DMARC, optional DKIM selectors, MTA-STS, TLS-RPT, BIMI, mail provider fingerprinting, and grade (A–F).cert_transparency_search— Certificate Transparency (crt.sh) domain/subdomain or organization (O=) search with deduplication, wildcard separation, issuer stats, and optional active DNS resolution.web_tls_profile— Direct TLS certificate inspection (node:tls: SANs, issuer, expiry, chain, SHA-256 fingerprint) + HTTP security headers score, passive technology fingerprinting,robots.txt, andsecurity.txt.ip_asn_intel— Pure-DNS Team Cymru IP-to-ASN / ASN lookup + IANA RDAP IPv4/IPv6/ASN RIR metadata + Reverse DNS (PTR) + optional DNSBL check with public-resolver refusal detection.email_passive_check— RFC syntax & alias normalization, built-in disposable & role-account detection, domain mail posture, Gravatar SHA-256 profile, OpenPGP WKD &keys.openpgp.org, and public GitHub match (no SMTP probing).username_search— Built-in declarative catalog of 18 open-web & developer platforms (GitHub, GitLab, npm, PyPI, crates.io, RubyGems, Docker Hub, Hugging Face, Hacker News, DEV, Reddit, Keybase, Gravatar, Codeberg, Wikipedia, Packagist, Launchpad, Medium) withfound/not_found/unknownclassification.reverse_domain_pivot— Keyless reverse-infrastructure discovery from a domain, organization, or IP via CT org/SAN co-occurrence, live TLS SANs, SPF includes, PTR, and ASN clustering.osint_investigate— Coordinated passive investigation for a domain or IP returning a unified entity-relationship pivot graph (nodes+edges), hygiene findings, and suggested next pivots.
Built-in Security Guards: Strict SSRF protection blocks loopback, RFC 1918 private, CGNAT, link-local / cloud metadata (
169.254.169.254), IPv6 ULA/link-local, IPv4-mapped IPv6, and private redirects. Pure passive recon only—no port scanning, no exploitation, no anti-bot social scraping.
Related MCP server: mcp-stateless-recon
Requirements
Node.js 18.17 or newer.
No API keys.
Install
Run on demand (MCP stdio)
npx -y mcp-osint --helpInstall globally
npm install --global mcp-osint
mcp-osint --helpInstall as a TypeScript / JavaScript library
npm install mcp-osintMCP Client Configuration (Free Stdio)
Claude Code
claude mcp add osint -- npx -y mcp-osintOr in .mcp.json:
{
"mcpServers": {
"osint": {
"command": "npx",
"args": ["-y", "mcp-osint"]
}
}
}OpenAI Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.osint]
command = "npx"
args = ["-y", "mcp-osint"]Or register via CLI:
codex mcp add osint -- npx -y mcp-osintQoder / Cursor / Claude Desktop / Generic MCP Clients
{
"mcpServers": {
"osint": {
"command": "npx",
"args": ["-y", "mcp-osint"]
}
}
}If installed globally (npm i -g mcp-osint), replace "command": "npx", "args": ["-y", "mcp-osint"] with "command": "mcp-osint". When running from a local clone, use "command": "node" and "args": ["/absolute/path/to/mcp-osint/dist/index.js"].
Optional Environment Variables
No environment variables are required. Two optional settings are supported:
Variable | Default | Purpose |
|
| Per-request network timeout in milliseconds ( |
| unset | Optional DNS-over-HTTPS JSON endpoint (e.g. |
Programmatic Library Usage (TypeScript & JavaScript)
Importing mcp-osint is completely side-effect-free (it does not start stdio). You can call every OSINT module directly or mount all 9 tools onto your own McpServer:
import {
lookupDomainRegistration,
analyzeDnsEmail,
searchCertTransparency,
inspectWebTls,
lookupIpAsn,
checkEmailPassive,
searchUsername,
pivotRelatedDomains,
investigateTarget
} from 'mcp-osint';
const reg = await lookupDomainRegistration('example.com');
const dns = await analyzeDnsEmail('example.com', { probeCommonDkim: true });
const ct = await searchCertTransparency('example.com', { limit: 50 });
const web = await inspectWebTls('https://example.com');
const ip = await lookupIpAsn('1.1.1.1');
const email = await checkEmailPassive('security@example.com');
const profiles = await searchUsername('octocat', { platforms: ['github', 'npm', 'hackernews'] });
const pivot = await pivotRelatedDomains('example.com');
const report = await investigateTarget('example.com');Embedding inside an existing MCP Server
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { registerOsintTools, version } from 'mcp-osint';
const server = new McpServer({ name: 'my-agent-server', version });
registerOsintTools(server);MCP Tools Reference
All 9 tools are marked readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true.
Tool | Key Inputs | Returns |
|
| RDAP / WHOIS registrar, IANA ID, creation/update/expiry dates, age, EPP statuses, nameservers, DNSSEC, abuse email, privacy redaction flag. |
|
|
|
|
| Deduplicated hostnames & wildcards from |
|
| Live TLS certificate subject/issuer/SANs/expiry/chain/fingerprint, HTTP redirect chain, security headers score & grade, passive tech fingerprints, |
|
| IP scope classification, Reverse DNS ( |
|
| Syntax/canonicalization, role & disposable checks, domain MX/mail posture, Gravatar SHA-256 profile, OpenPGP WKD & |
|
| Public account presence across up to 18 open-web/dev platforms with |
|
| Related domains ranked by keyless signals (CT org match, SAN co-occurrence, live TLS SANs, SPF includes, shared IP PTR) + shared infrastructure summary. |
|
| Combined report with |
Safety, Ethics & Scope
Pure Passive Reconnaissance:
mcp-osintperforms standard protocol lookups and passive public metadata checks only. It does not include port scanning, vulnerability exploitation, SMTP user enumeration, brute-force subdomain wordlists, or anti-bot social media scraping.SSRF Protection:
web_tls_profile, WHOIS referral chasing, and OpenPGP WKD checks resolve hostnames before connecting and block loopback (127.0.0.0/8,::1), RFC 1918 private networks (10/8,172.16/12,192.168/16), CGNAT (100.64/10), cloud metadata / link-local (169.254.0.0/16,fe80::/10), IPv6 ULA (fc00::/7), NAT64, IPv4-mapped IPv6 private targets, and private local suffixes (.localhost,.local,.internal). Every HTTP redirect hop is re-validated before following.Connection safety: Guarded HTTP requests and WHOIS referrals connect to validated addresses. An application supplying a custom
fetchimplementation must honor the passed Undicidispatcher; a custom resolver or transport is trusted application code and can weaken these protections.Incomplete results: Inspect
errorsinosint_investigateandwarningsinreverse_domain_pivot. An npm username search that finds no maintained packages reportsunknown, since the account may still exist. DNSBL results with DNS failures reporterrorrather thanclean.Honest Reverse-Discovery Limitations: Post-GDPR, registrant PII is widely redacted from public WHOIS/RDAP.
reverse_domain_pivottherefore correlates domains using open cryptographic and DNS signals (Certificate TransparencyO=& SANs, live TLS SANs, NS/MX/SPF, PTR, ASN) instead of brittle HTML scrapers.Clean-Room MIT Implementation: Written 100% from scratch in TypeScript under the MIT license.
Development
npm ci
npm run lint
npm run format:check
npm run build
npm test
npm audit --omit=dev
npm pack --dry-runnpm test compiles TypeScript and runs both offline unit tests (tests/unit.test.js) and full end-to-end stdio MCP protocol tests (tests/mcp.test.js) using the official @modelcontextprotocol/sdk client against local mock HTTP/DoH/RDAP/CT/WHOIS servers—zero external network access required.
Publishing to npm & MCP Registry
npm run lint
npm test
npm pack --dry-run
npm publish --access publicThis repository includes server.json and "mcpName": "io.github.zororaka00/mcp-osint" for the official MCP Registry:
mcp-publisher validate
mcp-publisher login github
mcp-publisher publishLicense
MIT — see LICENSE.
Available Tools
9 toolscert_transparency_searchCertificate Transparency log searchARead-onlyIdempotent
Search public Certificate Transparency logs (crt.sh) by domain (subdomains and SANs) or by organization name (O=). Zero API keys required. Deduplicates hostnames, summarizes issuers, and can optionally resolve active DNS.
Inputs: query (required), limit, queryType, resolveActive, +2 more.
dns_email_postureDNS records & email authentication postureARead-onlyIdempotent
Query A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records and evaluate email security (SPF RFC 7208 lookup count, DMARC, optional DKIM selectors, MTA-STS, TLS-RPT, BIMI, and mail provider detection). Zero API keys required.
Inputs: domain (required), dkimSelectors, probeCommonDkim.
domain_registrationDomain registration (RDAP + WHOIS)ARead-onlyIdempotent
Look up domain registration metadata via IANA RDAP with automatic port-43 WHOIS fallback. Zero API keys required. Returns registrar, dates, age/expiry, EPP statuses, nameservers, DNSSEC status, and privacy redaction state.
Inputs: domain (required), preferWhoisFallback.
email_passive_checkPassive email intelligence & hygiene checkARead-onlyIdempotent
Passively inspect an email address without SMTP probing or API keys: syntax and alias normalization, disposable/role detection, domain MX/SPF/DMARC posture, Gravatar SHA-256 profile, OpenPGP WKD/keyserver, and public GitHub match.
Inputs: email (required), includePublicProfiles.
ip_asn_intelIP & ASN network intelligenceARead-onlyIdempotent
Look up an IPv4/IPv6 address or ASN (for example 1.1.1.1 or AS13335) using pure-DNS Team Cymru ASN mapping, IANA RDAP network/RIR records, Reverse DNS (PTR), and optional DNSBL reputation checks. Zero API keys required.
Inputs: target (required), includeDnsbl.
osint_investigateAll-in-one passive OSINT entity graph investigationARead-onlyIdempotent
Run a coordinated passive OSINT investigation for a domain or IP (registration RDAP/WHOIS, DNS/email security, Certificate Transparency, TLS/HTTP profile, and IP/ASN) and return a structured entity-relationship pivot graph, hygiene findings, and suggested next pivots. Zero API keys required. Check errors for incomplete results.
Inputs: target (required), maxIps, includeWebTls, includeCertTransparency.
reverse_domain_pivotKeyless reverse-infrastructure domain pivotARead-onlyIdempotent
Discover related domains and shared infrastructure from a domain, organization name, or IP address using keyless public signals (Certificate Transparency org/SAN co-occurrence, live TLS SANs, SPF includes, PTR, and ASN clustering). Check warnings for incomplete results.
Inputs: query (required), limit, queryType.
username_searchPublic open-web username searchARead-onlyIdempotent
Check a username across built-in open-web and developer platforms (GitHub, GitLab, npm, PyPI, crates.io, Hacker News, Reddit, DEV, Keybase, Docker Hub, Hugging Face, Codeberg, Gravatar, Wikipedia, etc.) with zero API keys and clean found/not_found/unknown classification.
Inputs: username (required), platforms, categories.
web_tls_profilePassive TLS certificate & HTTP security profileARead-onlyIdempotent
Inspect a public HTTPS/HTTP target with SSRF protection (blocks private, loopback, and metadata IPs on initial host and redirects). Returns live TLS certificate/SANs/expiry, HTTP security headers grade, passive technology fingerprints, robots.txt, and security.txt.
Inputs: target (required), includeRobotsAndSecurityTxt.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct pivot input (username, domain, IP/ASN, email) plus one explicit aggregator (osint_investigate) that clearly frames itself as a coordinated run. The only mild overlap is cert_transparency_search vs reverse_domain_pivot, which both mine CT logs, and dns_email_posture vs email_passive_check, which both assess SPF/DMARC — descriptions distinguish them but an agent could still hesitate.
All names are snake_case and follow a consistent noun_phrase 'subject_action' convention (username_search, domain_registration, ip_asn_intel, email_passive_check), so the domain is readable at a glance. It deviates from a strict verb_noun pattern and mixes noun-first and action-first ordering, which is a minor inconsistency rather than a confusing one.
Nine tools is well within the sweet spot, and each earns its place by covering a different pivot type plus one orchestration tool. Nothing feels redundant or padded.
The surface covers the core passive OSINT pivots — identity, domain registration, DNS/email hygiene, certificates, live web/TLS, and network/ASN — with a graph-producing aggregator, so no major dead ends. Gaps remain for other pivot classes such as person/name search, phone numbers, breach/credential exposure, or social-media enumeration beyond username checks.
Maintenance
Related MCP Connectors
Passive OSINT and security recon: DNS, TLS, email posture, IP reputation, CVE/KEV, CT logs.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Passive domain exposure audits, email authentication and DNS cutover evidence. Try the cutover demo with zero monthly calls. MCP: https://identity-breach-response.org/mcp. Free key at https://identity-breach-response.org/docs#get-access.
Domain WHOIS/RDAP/DNS/SSL, Shodan ports/CVEs, OpenAlex/arXiv papers & ClinicalTrials.gov MCP.
Related MCP Servers
- AlicenseAqualityBmaintenancePrivacy-first OSINT scanning MCP server that aggregates ~25 sources into a risk report, running locally with no data leaving your machine.51AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceProvides safe network reconnaissance through DNS resolution, TLS inspection, HTTP security header grading, and bounded port scanning over the stateless MCP protocol.MIT
- AlicenseAqualityBmaintenanceProvides passive OSINT reconnaissance for domains and IPs using public sources, with tools for WHOIS/RDAP, DNS, subdomain enumeration, Wayback Machine, HTTP headers, Shodan InternetDB, email security, TLS certificates, and ASN lookups, all without requiring API keys.1562 PyPIMIT
- AlicenseAqualityNot gradedmaintenanceExposes an OSINT investigation toolkit to any MCP-compatible AI client, which can drive passive checks such as DNS, WHOIS/RDAP, breach, IP reputation, GitHub and news-geo lookups and chain findings across them. The server lists 20 tools by default (16 passive plus 4 graph and batch helpers) and 25 when active checks are explicitly allowed, running via uvx with no separate install.201MIT