
Mcp Maltego
io.github.Data-UnixPublished by GitHub account Data-Unixv0.2.0Updated Nov 3, 2026
Maltego OSINT for AI agents: transforms, Machines, link-graph analysis and native .mtgx.
Overview
Mcp Maltego's local MCP server; no sign-in required; STDIO.
No AI overview yet: these facts come from the registry entry and the server itself.
Installation
In SourceWeft
- Open Mcp Maltego in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-maltego
Maltego OSINT for AI agents.
Run transforms and Machines, build and analyse link graphs, and hand the result back to Maltego as a native
.mtgx, from Claude, Gemini, Codex, Copilot, Cursor or any MCP client.
[MCP-MALTEGO — Model Context Protocol Intelligence Graph Integration]
[npm] [CI] [License: MIT] [MCP] [Tools] [Español]
mcp-maltego is a Model Context Protocol server that turns an AI agent into a Maltego operator. It runs real transforms (built-in, commercial providers or your own TRX/iTDS servers), chains them into Machines, keeps a persistent investigation graph with memory of every step, recommends the next pivot, and exports everything to Maltego Desktop. One graph is shared by every agent you use.
Key features
- 20 tools, portable to every model. Flat JSON schemas validated against Gemini's strict function-calling
subset; variants grouped with an
actionparameter so agents are not flooded with tools. - 38 real transforms out of the box. 26 without API keys (DNS over HTTPS, RDAP/WHOIS, certificate transparency via crt.sh and CertSpotter, HackerTarget, urlscan.io, Shodan InternetDB, Team Cymru & RIPE Stat ASN/netblocks, Gravatar, GitHub profile details, AlienVault OTX threat pulses, multi-network profile lookup, parsing) and 12 provider transforms that switch on when you set a key: VirusTotal, Shodan, SecurityTrails, Censys, Hunter.io, Have I Been Pwned, GreyNoise and Tatum.
- Your Maltego transforms too. Speaks the Maltego TRX/iTDS XML protocol, so an agent can run the same transforms you use in Maltego.
- Machines. DomainRecon, InfrastructureRecon, EmailRecon, CompanyFootprint, PersonalFootprint, PersonaFootprint, URLRecon, ThreatSweep, ASNToNetblocks and your own in TOML, with recursive rounds and cost budgets.
- HUMINT, Breach Router & Multi-Agent Swarms. Native
humint.*entity ontology (humint.Alias,humint.Organization,humint.LocationHistory,humint.PsychologicalTrait), cross-platform pseudonym correlation, subject behavioral profiling ([Hipótesis]), chronological anomaly detection, weighted relationships, a local SQLite- k-Anonymity/XposedOrNot breach router (
BreachSemanticPivot), and multi-agent casefork/delegate/mergewith optimistic locking.
- k-Anonymity/XposedOrNot breach router (
- An investigation copilot.
osint_investigatedoes detection, case creation, the right Machine, scoring and recommendations in one call. Every step is remembered (what, on what, why, result), every entity has explainable provenance and a priority score, and next-best-action learns from how each transform performed. - Native Maltego round-trip.
.mtgxexport with hierarchical, radial or force-directed layout and the investigation memory embedded;.mtgximport; local transforms inside Maltego Desktop to open a case, expand neighbours and send entities back to the agents; import of your exact Maltego entity ontology. - Reports and CLI. Executive reports in Markdown or self-contained HTML, and
maltegoctlfor terminals and CI. - Safe by default. OSINT content is treated as untrusted data, XML is parsed with defusedxml, archives are read with bounds, agents cannot supply arbitrary URLs, and API keys are never logged.
Requirements
- Node.js 18 or newer (for
npx). - uv — manages the Python 3.12 runtime automatically (if
uvis not installed yet,mcp-maltegoinstalls it automatically into~/.maltego-mcp/binon first run).
Prepare the runtime, ~/.maltego-mcp/.env template, Maltego Desktop bridge .mtz, and global CLI launchers
(mcp-maltego, maltego-mcp, maltegoctl, maltego-mcp-bridge in ~/.local/bin / %USERPROFILE%\.local\bin added to
your PATH) in one command:
You can also choose a specific deployment mode or client target on any OS / distribution (Windows PowerShell/CMD, macOS, Ubuntu/Debian, Kali, Fedora/RHEL, Arch, Alpine):
Getting started
Standard configuration, valid for most MCP clients:
Then ask your agent:
Investigate example.com, give me the summary of the case and export it for Maltego.
Claude Code
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add the standard configuration above.
Gemini CLI
Add the standard configuration to ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project).
Codex
or in ~/.codex/config.toml:
GitHub Copilot CLI
Add the standard configuration to ~/.copilot/mcp-config.json, or to .mcp.json / .github/mcp.json in a repository.
VS Code
.vscode/mcp.json:
Cursor
Add the standard configuration to ~/.cursor/mcp.json or .cursor/mcp.json.
OpenCode
opencode.json:
Qwen Code
Add the standard configuration to ~/.qwen/settings.json or .qwen/settings.json.
Orca IDE and other multi-agent setups
Clone this repository and open it in Orca: it ships the project file each agent reads (.mcp.json,
.gemini/settings.json, .codex/config.toml, .cursor/mcp.json, .qwen/settings.json, opencode.json), so every
worktree gets the server without manual registration. All agents share one graph in ~/.maltego-mcp. See
docs/ORCA.md.
Remote (Streamable HTTP)
The server binds to localhost only. It has no authentication yet, so do not expose it to a network.
Tools
entity_type accepts any Maltego type, your own prefix.Name, or "auto" to detect it from the value.
Transforms
Pass keys through your client's configuration:
Your own Maltego transform servers (TRX / iTDS) are declared in ~/.maltego-mcp/transforms.toml; see
config/transforms.example.toml. Custom Machines go in the same file.
Maltego Desktop integration
Local transforms work in Maltego CE and the commercial editions, with no transform server. For the bridge, install
the package globally (npm i -g mcp-maltego) so the command path stays stable. Details in
docs/MALTEGO.md.
Configuration
More in docs/USO.md (Spanish).
CLI
Example prompts
- Investigate [email protected] and tell me which pivots are worth running next.
- Run DomainRecon on example.com with two rounds and a budget of 200 entities.
- Find every path between the IP 93.184.216.34 and the email in case demo.
- Export case demo for Maltego with a radial layout and write me an HTML report.
- Import the graph I saved in Maltego as acme.mtgx into case acme and continue from there.
AI agents and skills for contributors and analysts
The repository ships 10 agents and 15 skills from a single source (.agents/), generated for Claude Code, Gemini CLI,
Qwen Code, GitHub Copilot and Codex, with skills in the open Agent Skills format (also read
by Cursor):
- Investigation agents (use this MCP):
osint-analyst(copilot with next-best-action loop and memory),cti-analyst(defensive exposure and IOC triage),ioc-composer(multi-MCP IOC graphs with MISP, ATT&CK, TheHive, Cortex),recon-toolchain-integrator(theHarvester, amass, recon-ng, SpiderFoot output into the graph). - Investigation skills: company footprint, identity footprint, infrastructure mapping, IOC graph composition, external OSINT tools, investigation methodology.
- Development agents and skills: MCP tool design, transforms and custom providers, Machines, graph model, Maltego formats, non-standard entities, security review, tests, release and deployment.
Inspired by community work (SulimanAbdulrazzaq/maltego-mcp, lidless-labs/maltego-mcp, HexStrike AI, MCP-Kali-Rust); offensive capabilities (exploitation) are deliberately out of scope.
Security and responsible use
OSINT content is untrusted and is never followed as instructions. See SECURITY.md for the design and for how to report vulnerabilities. You are responsible for complying with the law, each provider's terms of service and data-protection rules (for example GDPR) in your jurisdiction.
Development
Architecture, conventions for contributors and AI agents: AGENTS.md. Coverage of the functional specification: docs/COBERTURA.md. Changes: CHANGELOG.md.
License
MIT. Maltego is a trademark of Maltego Technologies GmbH. This project is independent and not affiliated with or endorsed by Maltego Technologies.
Source: README.md at commit e308fbe
Tools
0Version history
1- v0.2.0LatestNov 3, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts