[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111310":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":13,"starSnapshotCount":13,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},111310,"osint-mcp","n5za\u002Fosint-mcp","n5za","86-tool OSINT MCP server with private evidence graphs, image analysis, reverse search, and person dossiers.","",null,"Python",82,0,1,13,26,4,51.1,"MIT License",false,"main",true,[24,25,26,27,28,29,30,31,32,33,34,35],"bug-bounty","mcp","model-context-protocol","opencode","opencode-ai","opencode-plugin","opencode-skills","osint","python","recon","security","threat-intelligence","2026-11-16 18:16:16","2026-11-23 15:34:46","# OSINT MCP\n\n![A large black and white eye, the OSINT MCP project banner](docs\u002Feye-banner.png)\n\n**86 tools for open-source intelligence and authorized reconnaissance, exposed through the Model Context Protocol (MCP).** Investigate domains, IPs, websites, public accounts, breach metadata, threat feeds, and images from one stdio server. Keep a private evidence graph for investigations you revisit.\n\n![Python 3.10+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.10%2B-111111?logo=python&logoColor=white) ![86 tools](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTools-86-111111) ![License MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-111111)\n\nMost tools work without an API key. Optional keys add coverage from services such as HIBP, VirusTotal, and OTX. Browser tools use Playwright; the rest can run without a browser.\n\n## Easy install with your AI agent\n\nOpen your coding agent in the environment where you want to use the MCP server. Give it the [OSINT MCP repository](https:\u002F\u002Fgithub.com\u002Fn5za\u002Fosint-mcp) and paste this prompt:\n\n```text\nInstall and configure this MCP server for the agent\u002Fclient I am using right now:\nhttps:\u002F\u002Fgithub.com\u002Fn5za\u002Fosint-mcp\n\nRead the repository README first. Clone the repository to a suitable local directory,\ncreate a Python 3.10+ virtual environment, and install the project in that environment.\nFind this client's MCP configuration and add OSINT MCP as a stdio server named \"osint\".\nUse absolute paths to the virtual environment's Python executable and the repository's\nserver.py. Preserve my existing MCP servers and settings.\n\nInstall Playwright Chromium for the browser and deep-research tools. Verify that the\nserver starts, that the client can discover its tools, and that the expected tool\ncount is 86. If this client needs a restart or reload, tell me exactly what to do.\nDo not put API keys in the repository or in the MCP configuration. Report the install\npath, the config file you changed, and the verification result.\n```\n\nYour agent needs local shell and file access to do the installation. The steps below are the manual alternative.\n\n## Start here\n\n**Requirements:** Python 3.10 or newer. Chromium is needed only for browser and deep research tools; Tesseract is optional for OCR.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fn5za\u002Fosint-mcp.git\ncd osint-mcp\npython3 -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npython -m pip install -e .\n```\n\nInstall Chromium if you plan to use `browser_*`, `browser_search`, `browser_crawl`, or `deep_osint`:\n\n```bash\nplaywright install chromium\n```\n\nThe server speaks **MCP over stdio**. Connect it to a client; running `python server.py` directly waits for MCP messages on stdin.\n\n### Connect an MCP client\n\nUse the absolute path to the virtual environment's Python binary. This lets the client start the server without shell activation.\n\n\u003Cdetails>\n\u003Csummary>Claude Desktop \u002F Cursor\u003C\u002Fsummary>\n\nPut this in Claude Desktop's `claude_desktop_config.json` or Cursor's `.cursor\u002Fmcp.json`, changing the two absolute paths:\n\n```json\n{\n  \"mcpServers\": {\n    \"osint\": {\n      \"command\": \"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002F.venv\u002Fbin\u002Fpython\",\n      \"args\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002Fserver.py\"]\n    }\n  }\n}\n```\n\nRestart the client after saving.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>OpenCode\u003C\u002Fsummary>\n\nAdd this to `opencode.jsonc` (or `~\u002F.config\u002Fopencode\u002Fopencode.jsonc`):\n\n```jsonc\n{\n  \"mcp\": {\n    \"osint\": {\n      \"type\": \"local\",\n      \"command\": [\n        \"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002F.venv\u002Fbin\u002Fpython\",\n        \"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002Fserver.py\"\n      ],\n      \"enabled\": true\n    }\n  }\n}\n```\n\nReload OpenCode, then run `opencode mcp list`.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>VS Code \u002F Copilot\u003C\u002Fsummary>\n\nPut this in `.vscode\u002Fmcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"osint\": {\n      \"type\": \"stdio\",\n      \"command\": \"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002F.venv\u002Fbin\u002Fpython\",\n      \"args\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002Fserver.py\"]\n    }\n  }\n}\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Claude Code\u003C\u002Fsummary>\n\n```bash\nclaude mcp add osint -- \u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002F.venv\u002Fbin\u002Fpython \u002Fabsolute\u002Fpath\u002Fto\u002Fosint-mcp\u002Fserver.py\n```\n\u003C\u002Fdetails>\n\n### Check the installation\n\n```bash\npython - \u003C\u003C'PY'\nimport asyncio\nfrom osint_mcp.app import mcp\nprint(len(asyncio.run(mcp.list_tools())))\nPY\n```\n\nExpected output: `86`. To try a keyless tool without an MCP client:\n\n```bash\npython - \u003C\u003C'PY'\nimport asyncio\nfrom osint_mcp.dns_tools import dns_lookup\nprint(asyncio.run(dns_lookup(\"example.com\", \"A\")))\nPY\n```\n\n## Choose a workflow\n\n| Goal | Start with | Continue with |\n|---|---|---|\n| Domain overview | `recon_domain` | `recon_deep`, `dns_lookup`, `domain_whois` |\n| DNS posture | `dnssec_status` | `dns_resolver_compare`, `email_security` |\n| IP context | `recon_ip` | `ip_intel`, `asn_lookup`, `ip_whois` |\n| Public web surface | `http_headers_audit` | `tech_fingerprint`, `wayback_urls`, `js_recon` |\n| Threat triage | `threat_reputation` | `virustotal_report`, `otx_domain`, `cve_intel` |\n| Rendered or dynamic page | `browser_open` | `browser_extract`, `browser_screenshot` |\n| Multi-source research | `deep_osint` | `source_crosscheck`, `image_analyze` |\n| Ongoing investigation | `case_create` | `case_research`, `case_graph`, `case_add_fact` |\n| Image investigation | `case_image_add` | `case_image_view`, `case_image_crop`, `case_image_reverse`, `person_dossier` |\n\n`recon_ip` includes a TCP port check. Other tools that actively contact target systems include `port_scan`, `subdomain_enum`, `api_discovery`, `dns_zone_transfer`, and browser tools. Use them only on targets you are authorized to assess.\n\n## Persistent investigation graph\n\nThe case tools let you keep a separate local knowledge graph for each investigation. A case has sources, entities, short observations, and explicit relationships. `case_research` runs browser research and **automatically saves** source URLs, detected entity mentions, and key sentences. `case_capture` saves the same fields from an existing `deep_osint` or `browser_crawl` JSON result. Repeated captures deduplicate mentions and observations. Other OSINT tools do not save data automatically; pass their useful findings to `case_note` or `case_add_fact`.\n\n| Tool | Use it for |\n|---|---|\n| `case_create(name, description)` | Start or reopen a case. |\n| `case_list()` | See saved cases and their counts. |\n| `case_research(case, query, max_pages)` | Research and save source\u002Fentity mentions in one call. |\n| `case_capture(case, result_json)` | Import the `pages` from a prior research result. |\n| `case_note(case, entity, kind, observation, source_url)` | Save a person, place, event, or organization with a short observation. |\n| `case_add_fact(case, subject, predicate, object_name, ...)` | Add a relationship, ideally with `source_url` and an evidence excerpt. |\n| `case_search(case, query)` | Find entities, source titles\u002FURLs, observations, and facts. |\n| `case_graph(case, entity)` | Resume the whole case or inspect one entity's connections. |\n\nFor example: create a case named `Missing painting`; run `case_research` for the incident; save a note about Amina, then add the relationship `Amina — visited — Rabat` with the page URL and supporting excerpt; later use `case_graph(\"Missing painting\", \"Amina\")` to resume. Its `nodes` and `edges` fields are ready for a graph viewer. A page mentioning Amina and Rabat stores two mentions, **not** an invented visit. Facts without both a source and evidence stay marked `lead`; even sourced facts are claims to verify, not ground truth. This is especially important for questions about who acted and why.\n\nThe database defaults to `~\u002F.local\u002Fshare\u002Fosint-mcp\u002Fcases.sqlite3`. It is local, is not sent to GitHub, and is ignored if placed in the repository. The tool creates the database file with private permissions on POSIX systems. Set `OSINT_CASES_DB` to choose another path. Back up that file if you need to preserve a long-running case. Case storage contains source URLs and brief excerpts, so protect the file like other investigation notes.\n\n## Investigate images and keep person folders\n\n1. Create a case with `case_create`.\n2. Add a local file or image URL with `case_image_add(case, image, person=\"...\", source_url=\"...\")`. The image is copied into the private case directory. If you provide a person label, a separate folder and `profile.json` are created for that person. The label is for organization; it does **not** identify anyone in the picture.\n3. Use `case_image_view(case, image_id)` in a vision-capable MCP client so the agent can inspect the image. `case_image_crop` isolates a region (for example, one person in a group photo) for closer inspection; it never verifies identity. The agent can describe visible details and record observations with `case_note`. `case_image_add` also returns local EXIF\u002FGPS, hashes, OCR and QR analysis.\n4. Use `case_image_similar` to find near-duplicate images already in this case. Similarity compares whole images, not faces or identities.\n5. Use `case_image_reverse` to look for web pages carrying a matching image. With a paid `TINEYE_API_KEY`, it calls TinEye and saves page backlinks as image-to-source edges in `case_graph`. Without a key, it returns Google Lens\u002FTinEye pages to open manually. A local image is sent to TinEye **only when you invoke reverse search with a key and `use_tineye=True`**. Recognized social profile paths may produce unverified account candidates; no account ownership is asserted.\n6. Run `person_dossier(case, person)` after adding notes or facts to refresh that person's `profile.json`. It contains their case notes, relationships, associated image files and discovered web pages.\n\nThe local files live next to the case database, under `cases\u002F\u003Ccase-id>\u002Fpeople\u002F\u003Cperson-id>-\u003Cname>\u002F`. Case images and profiles are ignored by Git. Search backlinks show where a copy appeared; they do not establish who owns an account or who is depicted. Check each page and record any identity claim with a source and an evidence excerpt.\n\nThe reverse-search workflow uses TinEye's [official API](https:\u002F\u002Fhelp.tineye.com\u002Farticle\u002F182-using-the-tineye-api-to-determine-if-an-image-is-a-stock-photo) for structured backlinks. Google [documents visual search](https:\u002F\u002Fsupport.google.com\u002Fwebsearch\u002Fanswer\u002F1325808?hl=en) in the browser. The [Search by Image](https:\u002F\u002Fgithub.com\u002Fdessant\u002Fsearch-by-image) and [ImageHash](https:\u002F\u002Fgithub.com\u002FJohannesBuchner\u002Fimagehash) repositories informed the multi-engine and local similarity workflow; their code was not copied. Microsoft's [Bing Search APIs retired in 2025](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Flifecycle\u002Fannouncements\u002Fbing-search-api-retirement), so this project does not promise a Bing image API.\n\n## Tool catalog\n\nThe names below are the registered MCP tool names. Arguments and result schemas are available through MCP tool discovery.\n\n### Overview and DNS\n\n| Tools | Purpose |\n|---|---|\n| `recon_domain`, `recon_ip`, `recon_deep` | Parallel overviews for a domain or IP. |\n| `dns_lookup`, `reverse_dns` | DNS records and reverse PTR lookups. |\n| `dnssec_status` | Check DS and DNSKEY publication. This does **not** validate signatures. |\n| `dns_resolver_compare` | Compare Cloudflare and Google DNS-over-HTTPS answers. Differences can be normal for geo DNS or load balancing. |\n| `crtsh_subdomains`, `passive_subdomains` | Find names from public certificate and passive sources. |\n| `subdomain_enum`, `dns_zone_transfer` | Active subdomain guessing and AXFR checks. |\n\n### Case memory\n\n| Tools | Purpose |\n|---|---|\n| `case_create`, `case_list` | Start and resume separate local investigations. |\n| `case_research`, `case_capture` | Save sources, entity mentions, and short observations. |\n| `case_note`, `case_add_fact` | Add an entity observation or a sourced relationship. |\n| `case_search`, `case_graph` | Retrieve case evidence and connections. |\n| `case_image_add`, `case_image_view`, `case_image_crop`, `case_image_similar` | Save, inspect, crop and compare images in a case. |\n| `case_image_reverse`, `person_dossier` | Find image appearances and build per-person profiles. |\n\n### Domains, IPs, and websites\n\n| Tools | Purpose |\n|---|---|\n| `domain_whois`, `ssl_certificate` | RDAP registration and live TLS certificate details. |\n| `robots_txt`, `security_txt`, `sitemap_urls`, `wayback_urls` | Site policy files, sitemaps, and archived URLs. |\n| `ip_intel`, `asn_lookup`, `reverse_ip`, `ip_whois` | Address, network, ASN, and registration context. |\n| `port_scan` | Active TCP connection scan with configurable ports. |\n| `http_fetch`, `http_headers_audit`, `tech_fingerprint` | HTTP response, security headers, and technology clues. |\n| `extract_links`, `page_metadata` | Links, forms, metadata, and page structure. |\n\n### Discovery and search\n\n| Tools | Purpose |\n|---|---|\n| `web_search`, `google_dorks`, `github_search` | Web search, prepared search queries, and public GitHub search. |\n| `urlscan_search`, `commoncrawl_urls` | Public scan and archive indexes. |\n| `js_recon`, `api_discovery`, `well_known` | JavaScript clues, API paths, and well-known endpoints. |\n| `subdomain_takeover_check`, `favicon_hash`, `cloud_bucket_check` | Dangling DNS signals, favicon pivot, and public bucket checks. |\n| `hackernews_search`, `grep_app_search`, `bluesky_profile`, `npm_search` | Public discussion, code, profile, and package sources. |\n\n### Identity, exposure, and threat intelligence\n\n| Tools | Purpose |\n|---|---|\n| `username_search`, `email_intel` | Public handle and email context. |\n| `breach_check`, `stealer_log_check`, `domain_breach_exposure` | Exposure **metadata only**; personal lookups require `authorized=True`. |\n| `breach_catalog`, `breach_providers` | Public breach catalog and provider availability. |\n| `email_security` | SPF, DMARC, DKIM, BIMI, MTA-STS, TLS-RPT, and CAA posture. |\n| `otx_domain`, `virustotal_report`, `cve_intel`, `threat_reputation` | Threat feeds, detections, vulnerability details, and combined signals. |\n| `dnsbl_check`, `tor_exit_check`, `greynoise_ip` | DNS blocklists, Tor exit list, and GreyNoise context. |\n| `urlhaus_lookup`, `peeringdb_network`, `openphish_check` | Malware URL, network, and phishing feeds. |\n\n### Browser, deep research, and local utilities\n\n| Tools | Purpose |\n|---|---|\n| `browser_open`, `browser_extract`, `browser_screenshot`, `browser_eval` | Render a page, extract content, capture a PNG, or evaluate JavaScript. |\n| `deep_osint`, `browser_search`, `browser_crawl`, `source_crosscheck` | Bounded browser research and source comparison. |\n| `image_analyze`, `image_exif` | Image hashes, metadata, optional OCR\u002FQR, and EXIF. |\n| `jwt_decode`, `hash_text` | Decode JWT fields and calculate text hashes locally. |\n\n`browser_screenshot` returns image content; most other tools return structured data. A source error or missing key is reported in the result, so a failed lookup is not treated as a negative finding.\n\n## Optional API keys\n\nNo key is required to start. Set environment variables for extra provider coverage, or copy [`keys.example.json`](keys.example.json) to `~\u002F.config\u002Fosint-mcp\u002Fkeys.json` and set file permissions to `600`.\n\n| Environment variable | Used for |\n|---|---|\n| `GITHUB_TOKEN` | GitHub code search and higher API limits. |\n| `HIBP_API_KEY` | Have I Been Pwned account, domain, and stealer endpoints. |\n| `OTX_API_KEY` | AlienVault OTX coverage. |\n| `VIRUSTOTAL_API_KEY` | VirusTotal reports. |\n| `GREYNOISE_API_KEY` | Optional GreyNoise access. |\n| `URLHAUS_API_KEY` | URLhaus API access. |\n| `TINEYE_API_KEY` | Paid TinEye reverse-image API; returns matching-image page backlinks. |\n\n```bash\nmkdir -p ~\u002F.config\u002Fosint-mcp\nchmod 700 ~\u002F.config\u002Fosint-mcp\ncp keys.example.json ~\u002F.config\u002Fosint-mcp\u002Fkeys.json\nchmod 600 ~\u002F.config\u002Fosint-mcp\u002Fkeys.json\n```\n\nNever commit real keys. See the provider's own documentation for access requirements and quotas.\n\n## Configuration and limits\n\n| Setting | Default | Effect |\n|---|---|---|\n| `OSINT_BROWSER_PATH` | auto-detected | Override the Chrome\u002FChromium executable. |\n| `OSINT_HEADLESS` | `1` | Set `0` to show a browser window. |\n| `OSINT_SHOTS_DIR` | `.\u002Fshots` | Screenshot output directory. |\n| `OSINT_KEYS_FILE` | `~\u002F.config\u002Fosint-mcp\u002Fkeys.json` | Alternate local key file. |\n| `OSINT_CASES_DB` | `~\u002F.local\u002Fshare\u002Fosint-mcp\u002Fcases.sqlite3` | Local case graph database and nearby person\u002Fimage folders. |\n\nPublic sources can rate-limit, block, or return incomplete data. A DNS resolver mismatch is not automatically a misconfiguration. Breach results may be stale or contain false positives. Browser crawling and some composite tools make multiple requests, so set their limits to fit your scope. `image_analyze` processes images locally for hashes, EXIF, OCR, and QR; reverse-image search links are generated for remote URLs.\n\n## Project structure\n\n```text\nosint_mcp\u002F\n├── app.py              # MCP registration and tool instructions\n├── common.py           # HTTP, cache, keys, and shared helpers\n├── composite.py        # overview workflows\n├── case_tools.py       # private investigation graph\n├── case_media_tools.py # case images, reverse search, person dossiers\n├── dns_tools.py        # DNS, CT, AXFR, subdomain enumeration\n├── dns_audit_tools.py  # DNSSEC and resolver comparison\n├── domain_tools.py     # RDAP, TLS, site policy files, archives\n├── ip_tools.py         # IP and port tools\n├── web_tools.py        # HTTP and page analysis\n├── discovery_tools.py  # API, JS, archive, and takeover discovery\n├── intel_tools.py      # threat intelligence\n├── breach_tools.py     # exposure metadata\n├── mail_tools.py       # email security\n├── search_tools.py     # web and GitHub search\n├── social_tools.py     # social, code, and package search\n├── identity_tools.py   # username and email context\n├── browser_tools.py    # Playwright browser tools\n├── deep_tools.py       # deep research and image analysis\n└── util_tools.py       # local utilities\n```\n\n## Responsible use\n\nUse this project only for your own assets, authorized engagements, bug bounty scopes, or labs. Breach tools return aggregate metadata and do not expose passwords, hashes, cookies, or raw leaked records. Confirm findings with primary evidence before reporting them.\n\nMIT licensed. See [LICENSE](LICENSE)\n","这是一个基于Model Context Protocol（MCP）标准的开源情报（OSINT）工具集服务，集成86种侦察能力，支持域名、IP、网站、社交媒体账号、数据泄露记录、威胁情报源及图像的自动化分析与反向搜索，并构建私有化证据图谱以支持多阶段调查。项目采用Python实现，通过stdio方式提供MCP兼容接口，多数工具无需API密钥即可运行，可选集成VirusTotal、HaveIBeenPwned等第三方服务；浏览器类工具依赖Playwright，OCR功能依赖Tesseract。适用于红队评估、漏洞赏金、威胁狩猎及安全研究人员的授权侦察场景。",2,"2026-11-24 04:40:47","CREATED_QUERY"]