erlik-graph
Provides tools for checking if email addresses have been exposed in data breaches via the Have I Been Pwned API.
Click on "Install 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., "@erlik-graphInvestigate domain example.com and find related entities."
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.
Erlik Graph
An OSINT link-analysis graph with one shared transform core and two front-ends: a visual FastAPI + Cytoscape app and an MCP server for LLM-driven investigation.
Part of the Erlik portfolio of open-source AI OSINT tools.
Overview
Erlik Graph implements the classic link-analysis workflow — Entities (nodes) connected by Transforms (functions that take one entity and return related ones) on an interactive Graph — as a small, hackable Python project.
The point is the architecture: transform logic is written once as plain Python functions and exposed through two adapters that share the same graph store:
FastAPI + Cytoscape — a visual, clickable investigation graph. You drive it, every step is deterministic and auditable.
MCP — the same transforms as tools an LLM agent (e.g. Claude) calls autonomously to enrich and follow leads.
Add a transform once, and it appears in both.
Related MCP server: maltego-mcp
Features
🔗 Entity/Transform/Graph model with automatic node de-duplication
🧩 13 transforms out of the box — DNS (A/MX/NS/TXT), reverse DNS, certificate-transparency subdomains (crt.sh), RDAP/WHOIS, Wayback Machine, IP geolocation, HIBP breaches, Gravatar, Shodan services, username enumeration across 10 platforms
🖥️ Visual graph front-end (Cytoscape.js), click a node → run applicable transforms → the graph grows
🤖 MCP adapter exposing every transform as a tool for LLM-driven OSINT
♻️ Shared core — one
@transformdecorator, both adapters pick it up automatically🔌 Pluggable storage — in-memory
networkxby default, or a shared Neo4j backend so the MCP and FastAPI adapters read/write the same graph (Claude enriches, you inspect it live in the browser)
Prerequisites
Python 3.11+
Optional: a
SHODAN_API_KEYfor the Shodan transform and aHIBP_API_KEYfor the breach transformOptional: a running Neo4j instance to share one graph across both adapters
Installation
git clone https://github.com/malkreide/erlik-graph.git
cd erlik-graph
python -m venv .venv
# Windows: .\.venv\Scripts\Activate.ps1 | Unix: source .venv/bin/activate
pip install -r requirements.txtUsage
Variant A — visual graph (FastAPI)
python -m uvicorn erlik_graph.adapters.api_server:app --reloadOpen http://127.0.0.1:8000 → add a seed entity → click a node → run a transform → the graph expands.
Variant B — MCP (LLM-driven)
Register the server (see .mcp.json) with your MCP client. The transforms appear as tools (domain_to_subdomains, username_to_profiles, get_graph, …) and the agent decides which leads to follow.
{
"mcpServers": {
"erlik-graph": {
"command": "python",
"args": ["-m", "erlik_graph.adapters.mcp_server"],
"cwd": "/path/to/erlik-graph"
}
}
}Configuration
Variable | Purpose | Required |
| Enables the | No (transform returns a hint if unset) |
| Enables the | No (transform returns a hint if unset) |
| Graph backend: | No |
| Bolt URI when the backend is | Only for |
| Neo4j credentials | Only for |
Shared graph via Neo4j
By default each process keeps its own in-memory graph, so the MCP and FastAPI adapters don't see each other's data. Point both at Neo4j to share one graph — the intended "Claude enriches, you inspect visually" loop:
export ERLIK_GRAPH_BACKEND=neo4j
export NEO4J_URI=bolt://localhost:7687
export NEO4J_USER=neo4j
export NEO4J_PASSWORD=your-password
# Adapter 1 — the LLM enriches through MCP
python -m erlik_graph.adapters.mcp_server
# Adapter 2 — you watch the same graph grow in the browser
python -m uvicorn erlik_graph.adapters.api_server:app --reloadSwap in a different store by subclassing BaseGraphStore and returning it from create_store().
Adding a transform
Write a function decorated with
@transform(name, input_type, description)in a file undererlik_graph/transforms/.Import that file in
erlik_graph/transforms/__init__.py.
It now appears in both adapters automatically.
@transform("domain_to_ipv4", "domain", "Resolves a domain to its IPv4 addresses.")
def domain_to_ipv4(value: str, properties: dict) -> list[Entity]:
return [Entity(type="ipv4", value=ip, link_label="resolves_to")
for ip in query(value, "A")]Project Structure
erlik_graph/
├── core/ Data model, registry, graph stores
│ ├── entity.py Entity / Edge, de-dup key
│ ├── registry.py @transform decorator + registry
│ ├── base_store.py BaseGraphStore — shared expand() logic
│ ├── graph_store.py in-memory networkx store
│ ├── neo4j_store.py shared Neo4j-backed store
│ └── factory.py create_store() — picks backend from env
├── transforms/ the actual logic — this is where the system grows
│ ├── dns_transforms.py
│ ├── rdns_transforms.py
│ ├── crtsh_transforms.py
│ ├── whois_transforms.py
│ ├── wayback_transforms.py
│ ├── geo_transforms.py
│ ├── breach_transforms.py
│ ├── gravatar_transforms.py
│ ├── shodan_transforms.py
│ └── username_transforms.py
├── adapters/
│ ├── api_server.py FastAPI endpoints
│ └── mcp_server.py MCP tools
└── web/index.html Cytoscape front-end
tests/ offline pytest suite (run in CI)
.github/workflows/ci.yml install + import check + pytest on 3.11 / 3.12The Erlik Portfolio
Erlik — named after the lord of the underworld in Turkic-Mongolic (Tengrist) mythology — is a growing family of small, focused, open-source AI OSINT tools. Each tool lives in its own repository and shares the erlik topic for discoverability. erlik-graph is the link-analysis flagship; further tools (scouts, enrichers, monitors) join the portfolio as separate repos.
Legal Notice
For use only against systems and data you are authorized to investigate. When aggregating personal data, comply with the GDPR and applicable law.
Changelog
See CHANGELOG.md.
License
MIT License — see LICENSE.
Author
Hayal Özkan · @malkreide
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceExposes popular OSINT and reconnaissance tools like Sherlock, SpiderFoot, and Holehe through MCP and HTTP APIs for AI assistants. Runs security research tools in sandboxed environments and returns normalized JSON results for investigation and analysis.Last updated1
- AlicenseBqualityBmaintenanceEnables LLMs to author Maltego .mtgx graph files and perform OSINT lookups, with an optional transform layer for pivoting into MISP, TheHive, Cortex, and MITRE ATT\&CK directly in Maltego Desktop.Last updated13166MIT
- Alicense-qualityDmaintenanceA comprehensive MCP server that exposes multiple OSINT tools to AI assistants like Claude, enabling sophisticated reconnaissance and information gathering tasks using industry-standard OSINT tools.Last updated227MIT
- AlicenseAqualityBmaintenanceTurns an LLM into a Maltego CE investigation copilot, enabling AI-assisted OSINT investigations by building, analyzing, and exporting Maltego graph files.Last updated52MIT
Related MCP Connectors
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/erlik-graph'
If you have feedback or need assistance with the MCP directory API, please join our Discord server