FofaMap

v1.0.0Securitystable

FofaMap v2.0 是一款基于 Python3 开发的全网首个 AI 驱动红队资产测绘智能体。在延续原有 FOFA 数据采集、存活检测、统计聚合、图标 Hash 及批量查询等核心功能的基础上,2.0 版本原生支持 MCP 协议,可无缝接入 Cursor、Claude 等 AI 平台。其核心内置了 AI 自我反思机制,能根据查询结果自动调优语法,并智能联动 Nuclei 推荐精准扫描策略,实现从“被动采集”到“主动智能决策”的红队作业进化。

ai-agentasset-mappingfofa-apifofamapinformation-gathering-tools
Share:
666
Stars
0
Downloads
0
Weekly
0/5

What is FofaMap?

FofaMap is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to fofamap v2.0 是一款基于 python3 开发的全网首个 ai 驱动红队资产测绘智能体。在延续原有 fofa 数据采集、存活检测、统计聚合、图标 hash 及批量查询等核心功能的基础上,2.0 版本原生支持 mcp 协议,可无缝接入 cursor、claude 等 ai 平台。其核心内置了 ai 自我反思机制,能根据查询结果自动调优语法,并智能联动 nuclei 推荐精准扫描策略,实现...

FofaMap v2.0 是一款基于 Python3 开发的全网首个 AI 驱动红队资产测绘智能体。在延续原有 FOFA 数据采集、存活检测、统计聚合、图标 Hash 及批量查询等核心功能的基础上,2.0 版本原生支持 MCP 协议,可无缝接入 Cursor、Claude 等 AI 平台。其核心内置了 AI 自我反思机制,能根据查询结果自动调优语法,并智能联动 Nuclei 推荐精准扫描策略,实现从“被动采集”到“主动智能决策”的红队作业进化。

This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • FofaMap v2.0 是一款基于 Python3 开发的全网首个 AI 驱动红队资产测绘智能体。在延续原有 FOFA

Use Cases

FofaMap v2.0 是一款基于 Python3 开发的全网首个 AI 驱动红队资产测绘智能体。在延续原有 FOFA 数据采集、存活检测、统计聚合、图标 H
asaotomo

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx fofamap

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use FofaMap

FofaMap v2.0 is an AI-driven red team asset mapping agent (资产测绘) that provides MCP protocol support for seamless integration with Cursor, Claude, and other AI platforms. It scans and maps network assets using FOFA data, performs intelligent syntax optimization with self-reflection, and can recommend Nuclei scanning strategies for penetration testing—bringing enterprise security reconnaissance into your AI workflow.

Prerequisites

  • Python 3.8+ installed
  • FOFA API account and API key (fofa.info)
  • Node.js 14+ for MCP server
  • An MCP client such as Claude Desktop or Cursor
  • Nuclei installed (optional, for scan recommendations)
1

Get FOFA API credentials

Sign up at fofa.info and obtain your API key from the account settings.

2

Install FofaMap

Use npx to install FofaMap v2.0.

npx fofamap
3

Configure FOFA credentials

Set up your FOFA API key as an environment variable for FofaMap to use.

4

Add FofaMap to your MCP configuration

Edit your MCP client's configuration file to include FofaMap.

{
  "mcpServers": {
    "fofamap": {
      "command": "npx",
      "args": ["fofamap"],
      "env": {
        "FOFA_API_KEY": "your-fofa-api-key",
        "FOFA_API_EMAIL": "[email protected]"
      }
    }
  }
}
5

Restart your MCP client

After updating the configuration with FOFA credentials, restart Claude Desktop or Cursor.

6

Test asset mapping

Ask your AI assistant to perform asset reconnaissance on a target organization to verify the connection works.

FofaMap Examples

MCP Configuration

Add FofaMap to your configuration.

{
  "mcpServers": {
    "fofamap": {
      "command": "npx",
      "args": ["fofamap"],
      "env": {
        "FOFA_API_KEY": "your-key",
        "FOFA_API_EMAIL": "[email protected]"
      }
    }
  }
}

Prompts to try

Example prompts for using FofaMap with Claude.

- Map all web servers for the target.com domain using FOFA data
- Identify assets running outdated web frameworks and suggest Nuclei scan strategies
- Analyze the attack surface and prioritize high-risk assets for penetration testing

Troubleshooting FofaMap

FOFA API authentication fails

Verify your FOFA API key and email are correct. Check that your FOFA account is active. Regenerate API key if needed from fofa.info settings.

Asset mapping returns no results

Verify the target domain/IP is public and indexed by FOFA. Try with a different search term. Check your FOFA API usage limits and plan.

Nuclei recommendations not appearing

Ensure Nuclei is installed on your system if you want scan recommendations. Verify the MCP server has access to Nuclei. Check FofaMap documentation for integration setup.

Frequently Asked Questions about FofaMap

What is FofaMap?

FofaMap is a Model Context Protocol (MCP) server that fofamap v2.0 是一款基于 python3 开发的全网首个 ai 驱动红队资产测绘智能体。在延续原有 fofa 数据采集、存活检测、统计聚合、图标 hash 及批量查询等核心功能的基础上,2.0 版本原生支持 mcp 协议,可无缝接入 cursor、claude 等 ai 平台。其核心内置了 ai 自我反思机制,能根据查询结果自动调优语法,并智能联动 nuclei 推荐精准扫描策略,实现从“被动采集”到“主动智能决策”的红队作业进化。 It connects AI assistants to external tools and data sources through a standardized interface.

How do I install FofaMap?

Follow the installation instructions on the FofaMap GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with FofaMap?

FofaMap works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is FofaMap free to use?

Yes, FofaMap is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

FofaMap Alternatives — Similar Security Servers

Looking for alternatives to FofaMap? Here are other popular security servers you can use with Claude, Cursor, and VS Code.

Browse More Security MCP Servers

Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "fofamap": { "command": "npx", "args": ["-y", "fofamap"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use FofaMap?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides