Honeypot MCP Server
Provides read-only tools to query attacker activity data (sessions, IPs, credentials, commands, malware downloads) from a PostgreSQL database populated by a self-hosted honeypot stack.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Honeypot MCP Server
A small Model Context Protocol server that exposes my live honeypot's threat-intelligence database to an MCP client (Claude Desktop / Claude Code) as read-only tools — so I can investigate attacker activity by just asking, instead of writing SQL.
The data comes from a self-hosted honeypot stack (Cowrie SSH/Telnet + a custom HTTP honeypot) writing into PostgreSQL — currently ~530k attack sessions, ~33k login attempts, and thousands of captured attacker commands and file-staging events.
Tools
Tool | What it returns |
| Totals (sessions, unique IPs, logins, commands, file events) + breakdown by honeypot/protocol |
| Busiest source IPs with country + ASN org |
| Most-tried username/password pairs |
| Commands attackers ran post-login (TTPs) |
| Sessions grouped by source country |
| Captured file/malware staging (filename, URL, sha256) |
| Full profile for one IP: sessions, geo/ASN, creds tried, commands, ban status |
Related MCP server: SQL Server MCP
Safety
Read-only by construction. Every connection opens a read-only transaction and every query is a
SELECT. No tool mutates data.The IP passed to
lookup_ipis validated withipaddressand bound as a query parameter — never string-formatted into SQL.Recommended: point
HONEYPOT_DATABASE_URLat a DB role grantedSELECTonly.
Setup
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # then edit with your connection string
export HONEYPOT_DATABASE_URL="postgresql://user:pass@127.0.0.1:5433/honeypot"
python server.py selftest # verify DB connectivity
python server.py # run as an MCP (stdio) serverConnecting a client
Claude Code (claude mcp add):
claude mcp add honeypot -- bash -lc 'cd /path/to/honeypot-mcp && \
HONEYPOT_DATABASE_URL="postgresql://user:pass@127.0.0.1:5433/honeypot" \
.venv/bin/python server.py'Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"honeypot": {
"command": "/path/to/honeypot-mcp/.venv/bin/python",
"args": ["/path/to/honeypot-mcp/server.py"],
"env": { "HONEYPOT_DATABASE_URL": "postgresql://user:pass@127.0.0.1:5433/honeypot" }
}
}
}The DB lives on my server (bound to localhost), so I either run this server there, or launch it over SSH stdio from my laptop:
{ "mcpServers": { "honeypot": {
"command": "ssh",
"args": ["ubuntu", "cd honeypot-mcp && .venv/bin/python server.py"]
}}}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Query, explore, and manage your databases through natural conversation.
Ask questions in plain language, get answers from your business database. No SQL required.
Ask your databases questions in plain English, run read-only SQL and set up data alerts.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered threat intelligence analysis of IPs, domains, URLs, and file hashes across multiple threat intelligence platforms (VirusTotal, AlienVault OTX, AbuseIPDB, IPinfo) with APT attribution and interactive reporting through natural language queries.17 PyPI40Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides secure, read-only access to Microsoft SQL Server with multi-layer protection, enabling safe query execution, schema discovery, and SQL script analysis through natural language.2-

MISP MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides read-only access to MISP threat intelligence data, enabling event and attribute search, tag and taxonomy browsing, and galaxy lookups through natural language.16AGPL 3.0
BlackDome MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceGive your AI agents direct access to live honeypot threat intelligence. Look up attacker IPs, browse indicators of compromise (IOCs), inspect captured credentials and malware payloads, profile threat actors, and render a real-time global attack map — all from Claude, Cursor, or any MCP-compatible client.476 PyPI1MIT