Score B2B Leads and Draft EN/KO Follow-ups Inside Claude Desktop with a 116-Line MCP Server
Disclosure: I wrote and maintain the open-source project used here (MIT). I also offer paid setup work, linked at the end. Everything below works without paying anyone. Most "AI lead scoring" demos paste a lead into a chat and ask "is this a good lead?" . Ask again tomorrow and you get a different answer. That is fine for brainstorming and terrible for a sales queue. The fix is to split the job:…
The open-source project described in the article provides a simple and transparent way to score and triage B2B leads using a 116-line Node.js server. The system uses a scoring rule that assigns points based on factors such as the email domain, company information, employee size, and intent keywords. These signals are combined additively and capped at a maximum score of 100.
The server exposes two main functions: scoreLead() for assigning scores and reasons to individual leads, and triageLeads() for sorting the scored leads into categories like 'hot', 'warm', and 'cold'. The server employs a Model Context Protocol (MCP) to separate the rule-based scoring from the language generation for drafting follow-up messages.
This architecture allows the same lead to receive consistent scoring over time, while the language model handles tasks like summarization and drafting in either English or Korean, depending on the target market. The system is designed to be auditable, as the scoring reasons are explicitly provided with the score, enabling sales managers to review and argue the generated numbers. The repository for this project can be found at github.com/alborotar/mcp-automation-starter.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to