Skip to main content
Glama

spiderfoot_modules

List available SpiderFoot modules to discover reconnaissance capabilities for OSINT investigations.

Instructions

List available SpiderFoot modules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:45-49 (registration)
    Registration of the 'spiderfoot_modules' MCP tool. The handler fetches modules via the SpiderfootClient and returns JSON.
    server.registerTool( 'spiderfoot_modules', { title: 'Modules', description: 'List available SpiderFoot modules.', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.modules()) }] }) );
  • Core handler function in SpiderfootClient that performs HTTP GET /modules to retrieve the list of available SpiderFoot modules.
    async modules() { const { data } = await this.http.get('/modules'); return data; }
  • Registration of the 'spiderfoot_modules' MCP tool in the HTTP server variant. Identical to stdio version.
    server.registerTool( 'spiderfoot_modules', { title: 'Modules', description: 'List available SpiderFoot modules.', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.modules()) }] }) );
  • Helper function to create the SpiderfootClient instance from environment variables, used by the tool handler.
    export function makeSpiderfootClientFromEnv() { const baseUrl = process.env.SPIDERFOOT_BASE_URL || 'http://127.0.0.1:5001'; const username = process.env.SPIDERFOOT_USER; const password = process.env.SPIDERFOOT_PASS; return new SpiderfootClient({ baseUrl, username, password }); }

Latest Blog Posts

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/CorbettCajun/Spiderfoot-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server