SpiderFoot MCP Server
A Model Context Protocol (MCP) server that provides SpiderFoot OSINT automation capabilities to AI assistants and other MCP clients.
Installation
pip install spiderfoot-mcp
Configuration
Set the following environment variables or create a .env file:
SPIDERFOOT_URL=http://localhost:5001
SPIDERFOOT_USERNAME=admin
SPIDERFOOT_PASSWORD=your_password
Usage
As MCP Server
Start the MCP server:
spiderfoot-mcp
The server will expose SpiderFoot functionality as MCP tools that can be used by AI assistants.
Available Tools
The MCP server provides the following tools:
start_scan: Start a new SpiderFoot scanget_scan_status: Get the current status of a scanlist_scans: List all scans on the serverstop_scan: Stop a running scandelete_scan: Delete a scan and its dataget_scan_results: Get results from a scanget_scan_summary: Get a summary of scan resultswait_for_scan_completion: Wait for a scan to completeexport_scan_results: Export scan results in various formatsget_available_modules: Get list of available SpiderFoot modulessearch_scan_results: Search across scan resultsget_scan_log: Get log entries for a scanget_active_scans_summary: Get summary of tracked scansping: Test connectivity to SpiderFoot server
MCP Client Configuration
To use this server with Claude Desktop or other MCP clients, add the following to your MCP configuration:
{
"mcpServers": {
"spiderfoot": {
"command": "spiderfoot-mcp",
"env": {
"SPIDERFOOT_URL": "http://localhost:5001",
"SPIDERFOOT_USERNAME": "admin",
"SPIDERFOOT_PASSWORD": "your_password"
}
}
}
}
Requirements
- Python 3.8+
- spiderfoot-client>=1.0.0
- fastmcp>=2.10.0
- python-dotenv>=1.0.0
- A running SpiderFoot instance
Dependencies
This package depends on the spiderfoot-client package, which provides the underlying SpiderFoot API client functionality.
License
MIT License
Metadata
Release files for spiderfoot-mcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spiderfoot_mcp-1.0.0.tar.gz | 7.4 kB | Without provenance | Details for spiderfoot_mcp-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spiderfoot_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for spiderfoot_mcp-1.0.0-py3-none-any.whl |
Total release size: 14.2 kB
Release files / spiderfoot_mcp-1.0.0.tar.gz
| Download URL | spiderfoot_mcp-1.0.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae1b7186f13d2a1100c051ff04cb2a00f9da383e2e484603e9cdf9e5bf62b186
|
|
BLAKE2b-256 checksum How to use checksums |
dce0a98aede5d42eae4a97c4dedc3bc3cc90efd18599f8733785f3b0c74be4e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / spiderfoot_mcp-1.0.0-py3-none-any.whl
| Download URL | spiderfoot_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7e2e0aaf6cf27b9403f7419b36d4acf4fe06bdd98b6a5b1086c934ba2683477
|
|
BLAKE2b-256 checksum How to use checksums |
68a8a04602305f2c8a8d45685e73087053fd0bcf5ce7a6214cfb1a4357050b9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for spiderfoot-mcp 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.