Leadpipe MCP
Provides access to Leadpipe's intent and data APIs for topic discovery, audience management, and visitor data lookup. It enables agents to automate lead generation workflows, analyze website topics, and manage tracking pixels through natural language.
README
Leadpipe MCP
Official MCP server for Leadpipe intent and data APIs.
Use this server to give agents direct access to:
- topic discovery
- website topic analysis
- audience preview and ad hoc query
- saved audience management
- audience status, results, runs, stats, and exports
- visitor data lookup
- tracking pixel management
- account health and credit status
What This Is
Leadpipe MCP wraps the public Leadpipe intent and data APIs in a local MCP server that agents can use over stdio.
This server is API-key authenticated by default so the full audience workflow, visitor data access, and pixel management workflows are available to agents.
Use With Claude, Cursor, and Codex
Most users do not need to clone this repo or build from source. The published package is:
npx -y @leadpipe/mcp
You will need:
export LEADPIPE_API_KEY=sk_...
Optional advanced override:
export LEADPIPE_BASE_URL=https://api.aws53.cloud
LEADPIPE_BASE_URL only needs to change if you are pointing at a non-default environment.
Claude Desktop
Add this to your Claude Desktop MCP config:
{
"mcpServers": {
"leadpipe": {
"command": "npx",
"args": ["-y", "@leadpipe/mcp"],
"env": {
"LEADPIPE_API_KEY": "sk_..."
}
}
}
}
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"leadpipe": {
"command": "npx",
"args": ["-y", "@leadpipe/mcp"],
"env": {
"LEADPIPE_API_KEY": "sk_..."
}
}
}
}
Codex
Add the server with the Codex CLI:
codex mcp add leadpipe --env LEADPIPE_API_KEY=sk_... -- npx -y @leadpipe/mcp
Then confirm it is configured:
codex mcp list
Quick Start
If you just want to verify the package runs:
npx -y @leadpipe/mcp
Run From Source
For local development or repo hacking:
npm install
npm run build
node dist/index.js
For iterative local development:
npm run dev
Local source build MCP config:
{
"mcpServers": {
"leadpipe": {
"command": "node",
"args": ["/absolute/path/to/mcp/dist/index.js"],
"env": {
"LEADPIPE_API_KEY": "sk_..."
}
}
}
}
Tool Surface
Topic Discovery
list_topicsget_topic_facetssearch_topicsget_topic_trendcompare_topicsget_topic_moversanalyze_website_topics
Audience Builder
get_audience_filterspreview_audiencequery_audiencelist_audiencesget_audiencecreate_audienceupdate_audiencedelete_audience
Audience Results
get_audience_statusget_audience_resultslist_audience_runsget_audience_statsexport_audience
Visitor Data
query_visitor_data
Pixels
list_pixelscreate_pixelupdate_pixel
Account
get_account_status
Prompts
discover-audience-topicsoperate-saved-audienceinvestigate-visitor-data
Prompt Examples
See examples/prompt-examples.md for copy-paste prompts that work well with this MCP server.
Good starting prompts:
- "Find 5-10 B2B topics for cloud cost optimization software, compare their recent trends, and preview an audience."
- "Create a saved audience for these topics, activate it, wait until it is ready, and then summarize the first page of results."
- "Check the status of audience
<audience-id>. If it is ready, export it and give me the download URL." - "Investigate visitor activity for
example.comover the last 30 days and tell me whether our tracking setup looks healthy." - "List our pixels, find any paused ones, and explain what needs attention."
Agent Playbooks
For more structured operational flows, see:
Resources
leadpipe://docs/authleadpipe://docs/workflowsleadpipe://docs/data-api
Typical Agent Workflow
- Search or analyze topics
- Preview audience size
- Create or update a saved audience
- Check status until the audience is ready
- Fetch results or export CSV
Typical Data Workflow
- Check
get_account_status - Query visitor activity with
query_visitor_data - Inspect or create pixels with
list_pixels/create_pixel - Pause or reactivate tracking with
update_pixel
Development
npm run typecheck
npm run build
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.