ClicknContact

ClicknContact is an open-source tool designed to discover business contact emails from websites using scraping, form detection, and metadata extraction. It automates the process of retrieving hidden email addresses, making it particularly useful for customer service escalation and B2B lead generation.

GitHub Stars

0

User Rating

Not Rated

Favorites

0

Views

25

Forks

0

Issues

0

README

npm
build
license

πŸ“¬ ClicknContact

ClicknContact is an open-source tool that discovers business contact emails from websites using scraping, form detection, and metadata extraction β€” powered by the Model Context Protocol (MCP).

When businesses hide their emails behind contact forms or directories, ClicknContact steps in β€” using automation to scrape, detect, and surface real inboxes, avoiding traps like `noreply@`.


πŸ” Features
  • πŸ”— Extract emails from `mailto:` links and page content
  • πŸ“„ Detect forms and identify field names for smart submission
  • πŸ€– Fully compatible with AI assistants and agent frameworks using MCP
  • πŸ” Can be extended to simulate form submission and track responder behavior
  • 🧩 MCP-native tooling, modular and ready to compose in workflows

πŸš€ Use Cases
  • Lead enrichment and B2B outreach automation
  • Discover real contact channels for customer service escalation
  • Research contactability across business sectors
  • Intelligent email validation pipelines

βš™οΈ Project Structure
ClicknContact/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ tools/                  # MCP tool definitions (e.g., discoverBusinessEmail)
β”‚   β”œβ”€β”€ utils/                  # Scraper logic, fetchers, processors
β”‚   └── main.ts                 # MCP server setup and transport binding
β”œβ”€β”€ test/                       # Tests (coming soon)
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
└── tsconfig.json

πŸ› οΈ Getting Started
git clone https://github.com/fabianwilliams/ClicknContact.git
cd ClicknContact
npm install
npm run build
npx @modelcontextprotocol/inspector node ./build/main.js

☝️ This starts the MCP server and connects to MCP Inspector, letting you test the `discoverBusinessEmail` tool interactively.


βš™οΈ Usage Modes
βœ… Option 1: Global Install (for local dev or CLI use)
npm install -g @fabianwilliams/clickncontact
clickncontact

This makes the tool globally available via the `clickncontact` command.

βœ… Option 2: Ephemeral (latest version every time)
{
  "tools": [
    {
      "name": "ClicknContact",
      "command": "npx",
      "args": ["-y", "@fabianwilliams/clickncontact"],
      "transport": "stdio"
    }
  ]
}

Perfect for Claude Desktop or cloud-based agents that should always use the latest published version.


πŸ§ͺ Tool: `discoverBusinessEmail`

This tool accepts a list of website URLs and returns:

{
  url: string;
  best: string | null;       // best candidate email
  all: string[];             // all discovered emails
  formDetected: boolean;
  formFields: string[];      // name/email/phone/etc.
}

🧾 Input Format Example

You can test the `discoverBusinessEmail` tool using either JSON or Form input in MCP Inspector.

βœ… JSON Mode
{
  "websiteUrls": [
    "https://macona.org",
    "https://openai.com"
  ]
}

This passes an array of strings to the tool, matching the expected `inputSchema`.

πŸ“ Form Mode

Use the Form tab in MCP Inspector to enter each URL as a separate item in a repeating input field. The tool expects an array β€” so do not pass a single stringified object.

πŸ–Ό Visual Example

You can also view the difference here:

Input Formats: JSON vs Form


πŸ“¦ Publishing

The tool is also available on NPM:

npm install @fabianwilliams/clickncontact

πŸ“œ License

MIT β€” use it, fork it, improve it, PR it. Let’s make smart contact discovery real.


πŸ‘₯ Contributing

We welcome contributors! Coming soon:

  • βœ… Issue templates
  • πŸ§ͺ Test harness
  • πŸ›  Form submission engine
  • πŸ’¬ Discussions

Open an issue or start a PR β€” and let’s build together.

Built with ❀️ by @fabianwilliams