fdep-mcp-server

juspay/fdep-mcp-server

3.3

If you are the rightful owner of fdep-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The FDEP MCP Server is a Static Code Analysis Model Context Protocol (MCP) server designed for enterprise-scale Haskell codebases, offering over 40 comprehensive analysis tools.

The FDEP MCP Server is a robust solution for enterprises looking to gain deep insights into their Haskell codebases. It integrates seamlessly with MCP-compatible AI tools and clients, providing real-time code intelligence and architectural insights. The server supports a wide range of analysis tools, including module, function, type system, class, import, and pattern analysis. It is designed to handle large datasets efficiently, making it ideal for enterprise environments. The server requires Python 3.13+, the UV package manager, and a PostgreSQL database. It processes FDEP data from the Spider plugin, ensuring comprehensive analysis capabilities. The server is highly configurable, allowing users to tailor it to their specific needs through environment variables and client configurations. With its extensive toolset, the FDEP MCP Server empowers developers to optimize their code, identify potential issues, and enhance overall code quality.

Features

  • MCP Protocol Compliant
  • 40+ Comprehensive Analysis Tools
  • Real-time Queries
  • Seamless Integration with AI Tools
  • Enterprise-scale Codebase Support

Usages

usage with Claude Code

{
  "mcpServers": {
    "fdepAnalyzer": {
      "command": "fdep-mcp-server",
      "args": [],
      "env": {
        "FDEP_PATH": "/path/to/your/fdep/output"
      }
    }
  }
}

usage with Cursor

{
  "mcp.servers": {
    "fdepAnalyzer": {
      "command": "fdep-mcp-server",
      "args": [],
      "env": {
        "FDEP_PATH": "/path/to/your/fdep/output",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

usage with VS Code

{
  "mcp.servers": [
    {
      "name": "fdepAnalyzer",
      "command": "fdep-mcp-server",
      "args": [],
      "env": {
        "FDEP_PATH": "/path/to/your/fdep/output"
      }
    }
  ]
}

usage with Cline

{
  "mcpServers": {
    "fdepAnalyzer": {
      "command": "fdep-mcp-server",
      "args": [],
      "env": {
        "FDEP_PATH": "/path/to/your/fdep/output"
      }
    }
  }
}

usage with Continue.dev

{
  "mcpServers": [
    {
      "name": "fdepAnalyzer",
      "command": "fdep-mcp-server",
      "args": [],
      "env": {
        "FDEP_PATH": "/path/to/your/fdep/output"
      }
    }
  ]
}

usage with Generic MCP Client

{
  "server_name": "fdepAnalyzer",
  "command": "fdep-mcp-server",
  "args": [],
  "environment": {
    "FDEP_PATH": "/path/to/your/fdep/output",
    "DB_HOST": "localhost",
    "DB_NAME": "code_as_data",
    "LOG_LEVEL": "INFO"
  }
}

Tools

  1. initialize_database

    Setup database and import FDEP data

  2. list_modules

    Get list of modules with filtering

  3. get_module_details

    Detailed module info with statistics

  4. get_functions_by_module

    List all functions in a module

  5. search_modules

    Pattern-based module search