> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataforb2b.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> Connect Claude, Cursor, VS Code, and other AI assistants to DataForB2B

# DataForB2B MCP

Connect your AI assistant to DataForB2B and search people, companies, and enrich profiles using natural language — directly from your IDE or chat.

**MCP Server URL:**

```
https://mcp.dataforb2b.ai/mcp
```

## Installation

<Tabs>
  <Tab title="Claude Desktop">
    Add to your Claude Desktop config file:

    **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`

    **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

    ```json theme={null}
    {
      "mcpServers": {
        "dataforb2b": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://mcp.dataforb2b.ai/mcp"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code">
    Run in terminal:

    ```bash theme={null}
    claude mcp add --transport http dataforb2b https://mcp.dataforb2b.ai/mcp
    ```
  </Tab>

  <Tab title="Cursor">
    Add to `~/.cursor/mcp.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "dataforb2b": {
          "url": "https://mcp.dataforb2b.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="VS Code">
    Add to `.vscode/mcp.json`:

    ```json theme={null}
    {
      "servers": {
        "dataforb2b": {
          "type": "http",
          "url": "https://mcp.dataforb2b.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Windsurf">
    Add to `~/.codeium/windsurf/mcp_config.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "dataforb2b": {
          "serverUrl": "https://mcp.dataforb2b.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Zed">
    Add to your Zed settings:

    ```json theme={null}
    {
      "context_servers": {
        "dataforb2b": {
          "url": "https://mcp.dataforb2b.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Other">
    For other MCP clients that support remote MCP:

    ```json theme={null}
    {
      "mcpServers": {
        "dataforb2b": {
          "url": "https://mcp.dataforb2b.ai/mcp"
        }
      }
    }
    ```

    If your client doesn't support remote MCP servers directly:

    ```json theme={null}
    {
      "mcpServers": {
        "dataforb2b": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://mcp.dataforb2b.ai/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

## Authentication

DataForB2B MCP uses **OAuth 2.0**. When you first connect, you'll be redirected to log in to your DataForB2B account and authorize the connection.

1. Sign up at [app.dataforb2b.ai](https://app.dataforb2b.ai) if you don't have an account
2. Connect the MCP server in your AI assistant
3. Log in to your DataForB2B account and authorize access when prompted

No API key needed — just sign in and approve the connection.

## Available Tools

| Tool                      | Description                                                                       |
| ------------------------- | --------------------------------------------------------------------------------- |
| `search_natural_language` | Search people or companies using natural language queries with 70+ filters        |
| `enrich_profile`          | Enrich a professional profile with work email, personal email, and GitHub profile |
| `enrich_company`          | Enrich a company with full data from public sources                               |
| `search_lookalike`        | Find similar people or companies using AI-powered vector similarity               |

## Usage Examples

<AccordionGroup>
  <Accordion title="Sales prospecting">
    ```
    Find CTOs and VPs of Engineering at SaaS companies
    with 50-200 employees that raised Series A or Series B in the US
    ```

    Then:

    ```
    Enrich these profiles with verified work emails
    ```
  </Accordion>

  <Accordion title="Recruiting">
    ```
    Software engineers in SF with 5+ years of experience
    who know Python and have worked at companies with 200+ employees
    ```

    Then:

    ```
    Find similar profiles using lookalike search
    ```
  </Accordion>

  <Accordion title="Investor-backed targeting">
    ```
    CTOs at companies backed by Sequoia
    ```

    ```
    Software engineers at YC companies
    ```
  </Accordion>

  <Accordion title="Competitive intelligence">
    ```
    Software engineers who previously worked at Palantir
    and now work at companies with less than 50 employees
    ```

    Then:

    ```
    Enrich with work emails and GitHub profiles
    ```
  </Accordion>

  <Accordion title="Company search">
    ```
    AI startups in France with 10-50 employees
    that have received seed or Series A funding
    ```

    Then:

    ```
    Find companies similar to Datadog in France
    ```
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Authorization not working">
    Make sure you have a DataForB2B account. Sign up at [app.dataforb2b.ai](https://app.dataforb2b.ai) and try connecting again.
  </Accordion>

  <Accordion title="Tools not appearing">
    Restart your MCP client after updating the config file. Some clients require a full restart to detect new MCP servers.
  </Accordion>

  <Accordion title="Claude Desktop not connecting">
    Claude Desktop requires the `mcp-remote` wrapper. Make sure you're using the `npx` config:

    ```json theme={null}
    {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.dataforb2b.ai/mcp"]
    }
    ```
  </Accordion>
</AccordionGroup>

## Need help?

Contact us at [support@dataforb2b.ai](mailto:support@dataforb2b.ai).
