Lead Qualifier MCP Tool

by nick-wati
MIT License
2

Integrations

  • Supports exposing the MCP server publicly using ngrok for external access by services like Dify.

  • Uses ChatGPT to qualify leads through BANT mechanism (Budget, Authority, Need, Timeline) and extract qualification information from conversations.

  • Can be extended to use Redis for session tracking instead of in-memory storage.

🤖 Lead Qualifier MCP Tool

A lightweight MCP tool that uses ChatGPT to qualify leads over BANT mechanism (Budget, Authority, Need, Timeline). And guide users to enter leads informations question by question.

🚀 Features

  • 🧠 LLM-powered lead qualification info (BANT) extraction and scoring
  • 💬 One field per turn, with conversational flow
  • 💾 Fast as in-memory session tracking, can be extended to Redis
  • 🔌 Compatible with Dify / Cursor via MCP (sse)

⚙️ Setup

Configure ChatGPT apikey in your .env file.

OPENAI_API_KEY=1234

Start your NodeJS server, which is your MCP server.

npm install npm start

Optional: expose your server using ngrok

ngrok http 3001

Dify Agent Strategy Configuration

{ "lead_qualification": { "transport": "sse", "url": "https://24c3-172-235-53-238.ngrok-free.app/sse", "headers": {}, "timeout": 50, "sse_read_timeout": 50 } }

🛠 Example

Tool name: lead-qualifier
Input:

{ "sessionId": "abc123", "message": "We have a budget of $1000" }

Output:

{ content: [ { type: "text", text: "Are you the main person evaluating tools like this, or is there someone else involved in the decision?" } ], isError: false }

Session:

{ "qualificationMap": { "budget": "$1000 per month", "authority": "", "need": "", "timeline": "" }, "scoreMap": { "budget": 30, "authority": 0, "need": 0, "timeline": 0 }, "totalScore": 30, "nextField": "authority", "lastPromptedField": "authority", "lastPromptedQuestion": "Are you the main person evaluating tools like this, or is there someone else involved in the decision?" }
-
security - not tested
A
license - permissive license
-
quality - not tested

A lightweight server that uses ChatGPT to qualify leads using the BANT framework (Budget, Authority, Need, Timeline) through a conversational question-by-question approach.

  1. 🚀 Features
    1. ⚙️ Setup
      1. 🛠 Example

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
          Last updated -
          7
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI-powered interaction with YNAB (You Need A Budget) data, allowing users to query their budgets through conversational interfaces.
          Last updated -
          1
          15
          1
          TypeScript
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          A server that manages conversation context for LLM interactions, storing recent prompts and providing relevant context for each user via REST API endpoints.
          Last updated -
          1,261
          TypeScript
        • -
          security
          F
          license
          -
          quality
          A conversational application server that integrates LLM capabilities via Ollama with vector memory context, supporting multiple users, sessions, automatic history summarization, and a plugin system for executing real actions.
          Last updated -
          Python

        View all related MCP servers

        ID: kg12iucfy9