LinkedIn Prospecting CSV Manager

LinkedIn Prospecting CSV Manager

Manages LinkedIn prospecting CSV files with deduplication and search, reducing LLM token usage by offloading file operations.

Category
Visit Server

README

LinkedIn Prospecting CSV Manager (MCP Server)

A high-performance, token-efficient Model Context Protocol (MCP) server designed for managing LinkedIn prospecting data in local CSV files. Built with Python and pandas.

Why This Project?

Managing large CSV files directly within an LLM (like Claude or ChatGPT) is inefficient and error-prone:

  • Token Drain: Reading a 1000-line CSV can consume ~30,000 tokens per operation.
  • Data Corruption: Manual file writing by LLMs often leads to escaping issues or column mismatches.
  • Scalability: LLMs struggle with O(n) deduplication and full-file rewrites.

This MCP server reduces token usage by 60x+ by offloading CSV logic to your local machine.

๐Ÿ› ๏ธ Features (V2)

  • Standardized Golden Schema: Enforces a consistent set of columns across all your prospecting campaigns.
  • "Auto-Repair" Header Normalization: Automatically renames legacy or inconsistent headers (e.g., v2 Score -> match_score) to match the Golden Schema.
  • Atomic Writes: Uses temporary-file-and-replace patterns to ensure zero data corruption during file updates.
  • Efficient Appending: Add new profiles with automatic deduplication based on linkedin_url.
  • Multi-Value Filtering: Query profiles by Score, Company, or multiple Locations (e.g., ["USA", "Canada"]).
  • Full-Text Search: Case-insensitive search across all text fields.
  • Absolute Path Enforcement: Prevents "ghost files" by resolving all paths reliably.

The Golden Schema

Every CSV processed by the server is automatically standardized to:

  1. full_name
  2. linkedin_url (Deduplication Primary Key)
  3. headline
  4. company
  5. company_size
  6. location
  7. match_score
  8. match_reason
  9. current_role_mention
  10. found_date
  11. icp_source

๐Ÿ“ฆ Installation

Prerequisites

Local Setup

  1. Clone this repository:
    git clone https://github.com/denis911/antigravity-mcp-csv-add-deduplicate.git
    cd antigravity-mcp-csv-add-deduplicate
    
  2. Install dependencies:
    uv sync
    

Claude Desktop Integration

Add the following to your Claude Desktop configuration file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

[!IMPORTANT] On Windows, we recommend using the python -m syntax below to bypass system security policies (like App Control Policy 4551) that might block the default uv executable shims.

{
  "mcpServers": {
    "linkedin-prospecting-csv": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\your\\repo\\antigravity-mcp-csv-add-deduplicate",
        "run",
        "python",
        "-m",
        "linkedin_prospecting_csv.server"
      ]
    }
  }
}

๐Ÿงช Testing

Automated Testing

We use pytest with real-world data from the TESTS directory:

uv run pytest TESTS/test_csv_ops.py

๐Ÿ› ๏ธ Available Tools

Tool Purpose
create_new_csv Initialize a fresh CSV with Golden Schema headers
append_profiles_to_csv Add new profiles + Auto-Repair + Deduplicate
filter_profiles Query profiles by criteria (multi-value support)
get_csv_stats Summary statistics & breakdowns (Auto-Repair on load)
export_segment Save filtered results to new Golden Schema CSV
search_profiles Full-text search across standardized columns
deduplicate_csv Manual maintenance using standardized URL column

๐Ÿ”’ Security & Privacy

This server runs locally on your PC. Your CSV data never leaves your environment; only the specific results of your queries (filtered rows or stats) are sent to the LLM.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured