Skip to main content
Glama
osint-mcp-server

osint-mcp-server

by fitzypopper

Pelican β€” OSINT MCP Server

A general-purpose open-source intelligence (OSINT) MCP server for AI agents. Local-first: run it on your own machine, connect any Model Context Protocol client (OpenCode, Hermes, Claude, Cursor, Cline, etc.), and give your agent one tool surface for broad public-data lookups.

πŸͺΏ Why "Pelican"?

Pelicans scan the shoreline for fish β€” symbolising an OSINT server that scans public data sources for intelligence. Short, distinctive, and animal-themed (like many MCP servers in this space).

Related MCP server: omega-mcp-server

⚑ Quick start

Install

# Using uv (recommended)
uv venv && uv pip install -e ".[dev]"

# Or using pip
pip install pelican[dev]

# Or via uvx (one-shot)
uvx pelican-mcp

Run the MCP server

# stdio (default β€” local AI agents)
pelican-mcp

# HTTP / streamable-http (remote agents)
pelican-mcp --transport http          # default port 8000
# or with bearer token auth:
OSINT_MCP_AUTH_TOKEN=$(openssl rand -hex 24) pelican-mcp --transport http

Add to your MCP client config

OpenCode (opencode.json):

{
  "mcpServers": {
    "pelican": {
      "type": "stdio",
      "command": ["uv", "run", "pelican-mcp"]
    }
  }
}

Claude Code:

claude mcp add pelican -- uv run pelican-mcp

CLI (no MCP client needed)

pelican-mcp-cli whois_domain '{"domain": "example.com"}'
pelican-mcp-cli osint_domain_recon '{"domain": "example.com"}'
pelican-mcp-cli --list-tools

πŸ“¦ What Pelican does

32 MCP tools across three coverage tiers:

Tier

Tools (selected)

Domain/Infra

dns_lookup, whois_domain, crtsh_search, geoip, bgp_asn, wayback_urls, email_security, hackertarget_hostsearch

Identity/Social

github_user_info, github_user_repos, reddit_user, keybase_lookup, username_enumerate, gravatar_lookup, email_permutations, domain_email_search

Threat/Breach

check_password_breach, shodan_internetdb, search_darkweb, cisa_kev_catalog, otx_search_pulses, osint_domain_recon, osint_ip_recon, osint_list_sources

Aggregate tools:

  • osint_list_sources β€” shows all sources and which API keys are configured

  • osint_domain_recon β€” all-in-one free domain recon (DNS + WHOIS + crt.sh + hosts + email security + geoip), correlated

  • osint_ip_recon β€” all-in-one free IP recon (geoip + RDAP + BGP + Shodan InternetDB), correlated

πŸ”‘ API keys (all optional)

Most tools work with zero config. Add only the keys for sources you want to unlock:

Variable

Unlocks

Cost

HIBP_API_KEY

breached-account lookups

~$4.50/mo

OTX_API_KEY

OTX pulses + indicator enrichment

free

SHODAN_API_KEY

Shodan search/host tools

free tier

GITHUB_TOKEN

higher GitHub rate limit

free

Copy .env.example to .env and add only the keys you need:

cp .env.example .env
# then edit .env with your keys

Keys are read into SecretStr and never logged.

πŸ› οΈ Architecture

pelican/
β”œβ”€β”€ pelican/              pelican package (v2 compatibility shim: pelican -> osint_mcp_server)
β”‚   β”œβ”€β”€ __init__.py       legacy import shim
β”‚   β”œβ”€β”€ config.py         env/.env settings, source status
β”‚   β”œβ”€β”€ net.py            shared async HTTP/DNS helpers, bounded concurrency
β”‚   β”œβ”€β”€ server.py         FastMCP entry point, tool registration, transports
β”‚   β”œβ”€β”€ cli.py            direct tool invocation (no MCP client)
β”‚   └── tools/
β”‚       β”œβ”€β”€ __init__.py
β”‚       β”œβ”€β”€ domain.py     DNS, RDAP, crt.sh, geoip, BGP, wayback, email security
β”‚       β”œβ”€β”€ social.py     GitHub, Reddit, Keybase, username, email, gravatar
β”‚       β”œβ”€β”€ threat.py     HIBP, Ahmia, Shodan InternetDB, CISA KEV, OTX
β”‚       └── suite.py      source listing + aggregate recon tools
└── tests/                unit tests (5 passing)

Every source is an independent module and every tool is read-only β€” nothing here writes to any target. Tools are annotated with FastMCP readOnlyHint / idempotentHint / openWorldHint so capable clients can see at a glance that these are safe, repeatable, read-only operations.

πŸ’‘ Credits & attribution

This project is a from-scratch Python implementation that borrows ideas, tool-shapes, source-selection, and endpoint patterns from several excellent MIT-licensed projects. Thanks to their authors:

Project

What we borrowed

License

badchars/osint-mcp-server

free no-key infra sources (DNS, RDAP, crt.sh, geoip, BGP, wayback, HackerTarget, email security), osint_list_sources and osint_domain_recon aggregate design

MIT

CloudWaddie/osint-mcp

identity/social tool set & endpoint/field patterns (GitHub, Reddit, Keybase, username enumeration, email permutation, Gravatar, HIBP)

MIT

frishtik/osint-tools-mcp-server

concept of wrapping OSINT tools, ethical-use framing

MIT

pete-builds/mcp-threatintel

HIBP k-anonymity password check, Ahmia dark-web search, CISA KEV, explicit FastMCP read-only annotations

MIT

Abraar02/threatwatch-mcp / Vorota-ai/shodan-mcp

always-free Shodan InternetDB tool

MIT

The licensing sections of these works are reproduced in full below.

πŸ“„ License

MIT. See LICENSE.

The three MIT license texts from the credited upstream projects are reproduced in this repository under docs/THIRD_PARTY_LICENSES.md as required by their MIT terms, so attribution survives this derived work's every redistribution.

πŸ›£οΈ Roadmap (brainstorm separately)

  • Shodan / VirusTotal / Hunter source implementations (keys already plumbed)

  • Optional CLI-tool wrappers (Sherlock / Maigret / Holehe) when installed

  • Local SQLite cache + background poller for threat feeds (like mcp-threatintel)

  • Publish to PyPI


Pelican β€” one interface, many sources. For authorized open-source intelligence research only.

Available Tools

32 tools
bgp_asnBgp AsnC
Read-onlyIdempotent

ASN details and announced IPv4/IPv6 prefixes.

Inputs: asn (required). Returns: result

bgp_ipBgp IpB
Read-onlyIdempotent

IP to prefix/ASN routing lookup.

Inputs: ip (required). Returns: result

check_email_breachesCheck Email BreachesA
Read-onlyIdempotent

Check an email against HaveIBeenPwned breaches (needs HIBP_API_KEY).

Inputs: email (required). Returns: result

check_password_breachCheck Password BreachA
Read-onlyIdempotent

Check if a password appeared in a breach (k-anonymity; password never leaves the machine).

Inputs: password (required). Returns: result

cisa_kev_catalogCisa Kev CatalogA
Read-onlyIdempotent

Fetch the CISA Known Exploited Vulnerabilities catalog.

Inputs: no named parameters. Returns: result

dns_lookupDns LookupA
Read-onlyIdempotent

Resolve DNS records for a hostname (A, AAAA, MX, TXT, NS, SOA, CNAME, CAA, SRV).

Inputs: host (required), record_type. Returns: result

dns_lookup_allDns Lookup AllA
Read-onlyIdempotent

Resolve all common record types for a hostname at once.

Inputs: host (required). Returns: result

email_permutationsEmail PermutationsC
Read-onlyIdempotent

Generate common corporate email address permutations.

Inputs: domain (required), last_name (required), first_name (required). Returns: result

email_securityEmail SecurityA
Read-onlyIdempotent

Analyze a domain's SPF/DMARC/DKIM email-authentication and spoofing risk.

Inputs: domain (required). Returns: result

geoipGeoipB
Read-onlyIdempotent

IP geolocation: country, region, city, ISP, ASN, proxy/hosting flags.

Inputs: ip (required). Returns: result

github_commit_emailsGithub Commit EmailsB
Read-onlyIdempotent

Extract email addresses from a user's public GitHub events.

Inputs: username (required). Returns: result

github_repo_commitsGithub Repo CommitsB
Read-onlyIdempotent

Extract committer emails from a repo's recent commit history.

Inputs: repo (required), owner (required). Returns: result

github_user_infoGithub User InfoA
Read-onlyIdempotent

Get public GitHub profile metadata for a user.

Inputs: username (required). Returns: result

github_user_reposGithub User ReposA
Read-onlyIdempotent

List public GitHub repositories for a user.

Inputs: username (required). Returns: result

gravatar_lookupGravatar LookupB
Read-onlyIdempotent

Look up the public Gravatar profile for an email address.

Inputs: email (required). Returns: result

hackertarget_hostsearchHackertarget HostsearchB
Read-onlyIdempotent

Find hosts/subdomains with resolved IPs via HackerTarget.

Inputs: domain (required). Returns: result

keybase_lookupKeybase LookupA
Read-onlyIdempotent

Look up a Keybase user and their linked social accounts / public keys.

Inputs: username (required). Returns: result

osint_domain_reconOsint Domain ReconA
Read-onlyIdempotent

All-in-one free reconnaissance for a domain (DNS, WHOIS, crt.sh, hosts, email security, geoip).

Inputs: domain (required). Returns: result

osint_ip_reconOsint Ip ReconA
Read-onlyIdempotent

All-in-one free reconnaissance for an IP (geo, rdap, bgp, shodan internetdb).

Inputs: ip (required). Returns: result

osint_list_sourcesOsint List SourcesA

List all data sources, which are free, and which API keys are configured.

Inputs: no named parameters. Returns: result

otx_indicatorOtx IndicatorB
Read-onlyIdempotent

Enrich an indicator (IP/domain/URL/hash) via AlienVault OTX.

Inputs: indicator (required), section. Returns: result

otx_search_pulsesOtx Search PulsesB
Read-onlyIdempotent

Fetch recent AlienVault OTX threat pulses (needs OTX_API_KEY).

Inputs: limit. Returns: result

reddit_userReddit UserA
Read-onlyIdempotent

Get public Reddit profile metadata (account age, karma, mod status).

Inputs: username (required). Returns: result

reddit_user_postsReddit User PostsB
Read-onlyIdempotent

List a Reddit user's recent public posts.

Inputs: username (required), limit. Returns: result

search_darkwebSearch DarkwebA
Read-onlyIdempotent

Search the dark web via Ahmia.fi (.onion index). Metadata only.

Inputs: query (required), max_results. Returns: result

shodan_internetdbShodan InternetdbB
Read-onlyIdempotent

Free Shodan InternetDB lookup: open ports, hostnames, CVEs, tags.

Inputs: ip (required). Returns: result

username_enumerateUsername EnumerateA
Read-onlyIdempotent

Probe ~20 major platforms to see if a username is taken.

Inputs: username (required). Returns: result

wayback_urlsWayback UrlsA
Read-onlyIdempotent

Discover archived URLs for a domain via the Wayback Machine CDX API.

Inputs: domain (required), limit. Returns: result

whois_domainWhois DomainB
Read-onlyIdempotent

Domain registration data (registrar, dates, nameservers) via RDAP.

Inputs: domain (required). Returns: result

whois_ipWhois IpA
Read-onlyIdempotent

IP network allocation data via RDAP (network name, CIDR, country).

Inputs: ip (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 32 tools

    Disambiguation3/5

    Most tools map to a distinct source or entity (WHOIS, BGP, GitHub, Reddit, OTX), so an agent can usually choose correctly. However, dns_lookup and dns_lookup_all appear near-identical, crtsh_search and hackertarget_hostsearch both target subdomains, and the all-in-one recon tools duplicate many individual lookups.

    Naming Consistency4/5

    The set mostly follows a clean snake_case source_or_object convention (github_user_repos, check_email_breaches, otx_indicator). Minor inconsistencies such as dns_lookup vs dns_lookup_all, hackertarget_hostsearch, and osint_list_sources are easy to learn but break the pattern slightly.

    Tool Count2/5

    At 32 tools, the surface is heavy and likely to increase prompt and selection cost for an agent; while each tool represents a plausible OSINT data source, the count exceeds the range where an agent can quickly scan and disambiguate options. Consolidating the recon aggregators or reducing similar lookups would help.

    Completeness4/5

    The server covers a coherent OSINT workflow: DNS/WHOIS/subdomain enumeration, IP/BGP/geo enrichment, social and username lookup, breach checking, and threat-intel feeds. Some broader OSINT categories such as phone numbers, image search, or mainstream social platforms beyond GitHub/Reddit/Keybase are absent, but the core domain is well covered.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides AI agents with 37 OSINT tools and 12 data sources to perform unified reconnaissance, domain analysis, and attack surface mapping. It enables agents to query, correlate, and reason across platforms like Shodan, VirusTotal, and Censys in parallel.
      37
      342 npm
      63
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes 108+ omega-cli OSINT tools for reconnaissance, web analysis, threat intelligence, and reporting, enabling AI assistants to perform comprehensive open-source intelligence tasks.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server providing 15 OSINT tools over free, public sources for AI agents, enabling domain reconnaissance, subdomain discovery, DNS lookups, host profiling, CVE search, and more without API keys.
      MIT