# DataForB2B MCP

```json
{
  "name": "DataForB2B MCP",
  "slug": "dataforb2b_mcp",
  "url": "https://composio.dev/toolkits/dataforb2b_mcp",
  "markdown_url": "https://composio.dev/toolkits/dataforb2b_mcp.md",
  "logo_url": "https://logos.composio.dev/api/dataforb2b",
  "categories": [
    "sales & customer support"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-27T05:36:43.996Z"
}
```

![DataForB2B MCP logo](https://logos.composio.dev/api/dataforb2b)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with DataForB2B MCP or direct API to search B2B people, enrich company records, find social posts, and track job postings through natural language.

## Summary

DataForB2B MCP is a hosted server for searching and enriching B2B people and companies.
It adds social posts and job postings as useful intent signals for prospect research.

## Categories

- sales & customer support

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/dataforb2b

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for DataForB2B MCP.
  - Setup:
    - Configure Dcr Oauth credentials for DataForB2B MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Find SaaS companies hiring sales leaders
- Enrich Acme contacts with company details
- Track social posts signaling buying intent

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `DATAFORB2B_MCP_BUY_CREDITS` | Buy credits | Get a secure Stripe payment link so the user can pay from this chat, in one click, without leaving it. Two kinds of products: 1. Subscription plans (Start / Growth / Scale): unlimited search & enrichment within fair use. Available to everyone. 2. One-time email/phone credit packs (contact_2500 / contact_10000 / contact_40000): top up verified personal emails and phone numbers. These are ONLY usable on an active plan — subscribe first. Call with no `product` to list the options and prices. Call with a `product` to get the payment link. The user enters their card on Stripe's page (never here); the purchase is applied automatically right after payment. Use this when the user is out of records, or asks to upgrade, subscribe, buy credits, or get phone / personal emails without an active plan. |
| `DATAFORB2B_MCP_ENRICH_COMPANY` | Enrich company | Enrich a single company with full data from public sources (description, industry, headquarters, employee count, funding, offices, etc.). |
| `DATAFORB2B_MCP_ENRICH_PROFILE` | Enrich profile | Enrich a single professional profile with detailed profile data, work email, personal email, and/or GitHub profile. Each enrichment flag controls one data source and bills separately. To enrich SEVERAL profiles, use `enrich_profiles` (bulk) instead — it runs them concurrently server-side and is far faster than calling this in a loop. |
| `DATAFORB2B_MCP_ENRICH_PROFILES` | Enrich profiles | Enrich MULTIPLE professional profiles in one call (1-100 at a time). The profiles are enriched concurrently server-side, so this is much faster and a single round-trip instead of calling enrich_profile in a loop. Use this whenever you have more than one profile to enrich (e.g. a list of people from search_people). Each enrichment flag controls one data source and bills separately, per SUCCESSFUL profile — a profile that fails comes back with an `error` field and costs nothing. Returns `results`: one object per input identifier, each with the requested fields (profile, work_email, personal_email, phone, git_profile) or an error. |
| `DATAFORB2B_MCP_EXECUTE` | Execute | Run a short JavaScript script that calls the other tools of this server, and get back only what the script returns. Use it when a task needs several calls whose results feed each other or can run in parallel (resolve a list of accounts then search people at each, count several market segments, enrich in batches), or when the rows are too many to read one call at a time. For a single search or enrichment, call that tool directly. The script is the body of an async function: use `await` and `return` at top level. Plain JavaScript only (a type annotation is a parse error). No network, filesystem or imports. Available in the script: - `await callTool(name, params)`: call a tool with the same parameters as a direct call. Resolves to `{ok: true, data}` (data = the tool's normal result: `results`, `total`, `records_used`...) or `{ok: false, status, errorType, message}`. A failed call does NOT throw: always branch on `r.ok`, or the script goes on with empty data and looks like "no results". - Callable tools: search_people, search_company, search_posts, search_jobs, enrich_profile, enrich_profiles, enrich_company, typeahead. - `await parallelMap(items, fn, {concurrency})`: run independent calls concurrently (default 5). Keep dependent stages and pagination sequential. - `chunk(list, size)`: split a list into batches (enrich_profiles takes up to 100 identifiers, search count is at most 100 per call). - `checkpoint(value)`: save progress after a costly stage; if the script then fails or times out, the value comes back as `partial`. - Filter builders: `and_(...)`, `or_(...)`, `eq(col, v)`, `neq`, `like`, `notLike`, `regex`, `in_(col, [..])`, `notIn`, `gt`, `gte`, `lt`, `lte`, `between(col, a, b)`, `radius(col, city, km)`. They build the same filter objects as the search tools take. - `inputs`: the object passed as the `inputs` parameter (lists of domains, ids, titles). - `console.log(...)`: first lines come back in `logs`. Return the smallest projection that answers the question: map rows to the few fields needed (name, id, url, the signal), never whole profiles. The result is capped at 60000 characters. Limits: 45 s by default (max 50), 60 tool calls, and `max_records` records: once the calls of the script have consumed that many, further calls return `ok: false` (errorType "record_budget"). Every call bills exactly like a direct call. The response carries `records_used`, `tool_calls` and a `trajectory` (one line per call with its total / count): read it before trusting a zero or a low count. search_jobs and search_posts read live sources and can take tens of seconds each: put at most a few of them in one script; a call still running at the deadline comes back as `ok: false` (errorType "timeout") so the script can still return the rest. Example: decision makers at a list of accounts. ```js const c = await callTool("search_company", { filters: and_(in_("domain", inputs.domains)), count: 100 }); if (!c.ok) return { error: c.message }; const host = (u) => (u ?? "").replace(/^https?:\\/\\//, "").replace(/^www\\./, "").split("/")[0]; const found = c.data.results.map(x => ({ id: x.id, name: x.name, domain: host(x.links?.website) })); const missing = inputs.domains.filter(d => !found.some(f => f.domain === d)); checkpoint({ found, missing }); const p = await callTool("search_people", { filters: and_(in_("current_company_id", found.map(f => f.id)), or_(regex("current_title", "VP"), like("current_title", "head of sales"))), max_per_company: 3, count: 100 }); if (!p.ok) return { error: p.message, found, missing }; return { missing, total: p.data.total, people: p.data.results.map(r => ({ name: `${r.first_name} ${r.last_name}`, title: r.experience?.[0]?.title, company: r.experience?.[0]?.company?.name, url: r.links?.linkedin })) }; ``` |
| `DATAFORB2B_MCP_SEARCH_COMPANY` | Search company | Search companies using structured filters. Use this for any company search: translate the user's intent (e.g. "AI startups in France that raised Series A") into structured filters on specific columns (industry, country, employee count range, funding stage, founded year, etc.). The available columns and operators are documented on the `filters` parameter. Returns paginated companies matching ALL/ANY filter conditions depending on the `op` of the FilterGroup. If a categorical filter returns few or no results, the `typeahead` tool can resolve the exact stored value — then retry. |
| `DATAFORB2B_MCP_SEARCH_JOBS` | Search jobs | Search job postings on LinkedIn or Indeed by keyword, location, and filters (employment type, remote/onsite, seniority, freshness, employer). Useful for hiring signals: which companies are recruiting for what roles, where. |
| `DATAFORB2B_MCP_SEARCH_PEOPLE` | Search people | Search professional profiles using structured filters. Use this for any people search: translate the user's intent (e.g. "AI engineers in Berlin who recently raised") into structured filters on specific columns (country, company size range, funding stage, etc.). The available columns and operators are documented on the `filters` parameter. Returns paginated profiles matching ALL/ANY filter conditions depending on the `op` of the FilterGroup. To find people at a SPECIFIC company you already identified (e.g. via `search_company` or `enrich_company`), filter on `current_company_id` (or `past_company_id`) with that company's `id` (e.g. "org_xxx") — NOT `current_company` (the name), which also matches other companies that happen to share the name and adds noise. To target people by their COMPANY's business (e.g. "founders of AI sales-agent startups"), qualify the company itself: filter `current_company_category` (lowercase, holds precise niche values — "artificial intelligence", "sales automation", "saas" — resolve with `typeahead` type=category) and/or `current_company_industry`, and when no category fits the niche, `current_company_keyword` (full-text on the employer's name/tagline/description — OR several "=" phrase variants). `keyword` searches the PERSON's own headline, so it fits attributes of the person themselves; for a company trait it matches unrelated people ("sales agent" → real-estate agents, sales reps). If a categorical filter returns few or no results, the `typeahead` tool can resolve the exact stored value — then retry. |
| `DATAFORB2B_MCP_SEARCH_POSTS` | Search posts | Search social posts by keyword on LinkedIn, Twitter/X, or Reddit — or target a single post by URL. Great for intent signals: find people talking about a topic, then use `include` to attach the post's engagers (each reactor / commenter is a lead, with their profile). Two modes: 1. Keyword search: set `keyword` (+ optional filters). 2. Single post: set `post_url` (with `include` to get its engagers). |
| `DATAFORB2B_MCP_TYPEAHEAD` | Typeahead | Helper to autocomplete a valid filter value. This is NOT a search tool — call a search tool to actually retrieve people/companies. Use typeahead to resolve the exact stored value for a free-text categorical filter (company, industry, title, skill, school, investor, location, category). Don't hesitate to use it when: the query is complex, you're unsure which filter value or column fits the user's intent, a search returned few or no results, or the user explicitly asks for autocomplete suggestions — then retry the search with the resolved value. Returns canonical values with a popularity bucket. For `title`, it returns the most common wordings of a role with their popularity. A `like` filter on the role words (like "revenue operations") also matches "Director, Revenue Operations" or "Revenue Operations Lead", where the exact stored title matches only itself. Feminine or unaccented forms are other words for `like`: add them as alternatives. Uses very few records; empty result sets are free. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to DataForB2B MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["dataforb2b_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["dataforb2b_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run DataForB2B MCP tools with your agent

Send a request, execute the DataForB2B MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Search for marketing leaders at SaaS companies in New York"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search for marketing leaders at SaaS companies in New York" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to DataForB2B MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["dataforb2b_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["dataforb2b_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a DataForB2B MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to DataForB2B MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Search for marketing leaders at SaaS companies in New York")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search for marketing leaders at SaaS companies in New York",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native DataForB2B MCP Integration

- Supports both DataForB2B MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your DataForB2B MCP data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke DataForB2B MCP access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access DataForB2B MCP
- Scoped, least privilege access to DataForB2B MCP resources
- Full audit trail of agent actions to support review and compliance

## Use DataForB2B MCP with any AI Agent Framework

Choose a framework you want to connect DataForB2B MCP with:

- [ChatGPT](https://composio.dev/toolkits/dataforb2b_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/dataforb2b_mcp/framework/claude-cowork)

## Related Toolkits

- [Aeroleads](https://composio.dev/toolkits/aeroleads) - Aeroleads is a B2B lead generation platform for finding business emails and phone numbers. Grow your sales pipeline faster with powerful prospecting tools.
- [Algomo MCP](https://composio.dev/toolkits/algomo_mcp) - Algomo MCP is a hosted MCP service for managing Algomo AI support and sales workspaces. It provides a secure, agent-ready way to connect tools, workflows, and staged changes.
- [Autobound](https://composio.dev/toolkits/autobound) - Autobound is an AI-powered sales engagement platform that crafts hyper-personalized outreach and insights. It helps sales teams boost response rates and close more deals through tailored content and recommendations.
- [Better proposals](https://composio.dev/toolkits/better_proposals) - Better Proposals is a web-based tool for crafting and sending professional proposals. It helps teams impress clients and close deals faster with slick, easy-to-use templates.
- [Bidsketch](https://composio.dev/toolkits/bidsketch) - Bidsketch is a proposal software that helps businesses create professional proposals quickly and efficiently. It streamlines the proposal process, saving time while boosting client win rates.
- [Bolna](https://composio.dev/toolkits/bolna) - Bolna is an AI platform for building conversational voice agents. It helps businesses automate support and streamline interactions through natural, voice-powered conversations.
- [Botdog](https://composio.dev/toolkits/botdog) - Botdog is a LinkedIn outreach platform for managing campaigns, leads, messages, analytics, and sending accounts. It helps sales teams run outbound workflows and track performance from one place.
- [BotPenguin](https://composio.dev/toolkits/botpenguin) - BotPenguin is an AI chatbot platform for customer messaging, contacts, and conversations. It helps teams manage bot-led support and lead engagement across channels.
- [Botsonic](https://composio.dev/toolkits/botsonic) - Botsonic is a no-code AI chatbot builder for easily creating and deploying chatbots to your website. It empowers businesses to offer conversational experiences without writing code.
- [Botstar](https://composio.dev/toolkits/botstar) - BotStar is a comprehensive chatbot platform for designing, developing, and training chatbots visually on Messenger and websites. It helps businesses automate conversations and customer interactions without coding.
- [Callerapi](https://composio.dev/toolkits/callerapi) - CallerAPI is a white-label caller identification platform for branded caller ID and fraud prevention. It helps businesses boost customer trust while stopping spam, fraud, and robocalls.
- [Callingly](https://composio.dev/toolkits/callingly) - Callingly is a lead response management platform that automates immediate call and text follow-ups with new leads. It helps sales teams boost response speed and close more deals by connecting seamlessly with CRMs and lead sources.
- [Callpage](https://composio.dev/toolkits/callpage) - Callpage is a lead capture platform that lets businesses instantly connect with website visitors via callback. It boosts lead generation and increases your sales conversion rates.
- [Charla](https://composio.dev/toolkits/charla) - Charla is a live chat and AI customer-support platform for property teams. It helps manage guest conversations, property contacts, and support knowledge.
- [Chatforma](https://composio.dev/toolkits/chatforma) - Chatforma is a chatbot automation platform for building and managing bots. It helps teams run dialogs, segments, broadcasts, forms, and user updates from one place.
- [Clearout](https://composio.dev/toolkits/clearout) - Clearout is an AI-powered service for verifying, finding, and enriching email addresses. It boosts deliverability and helps you discover high-quality leads effortlessly.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Convolo ai](https://composio.dev/toolkits/convolo_ai) - Convolo ai is an AI-powered communications platform for sales teams. It accelerates lead response and improves conversion rates by automating calls and integrating workflows.
- [Crisp](https://composio.dev/toolkits/crisp) - Crisp is a customer messaging platform for live chat, contacts, helpdesk, and campaigns. It helps support teams manage customer conversations from one shared workspace.
- [DataForB2B](https://composio.dev/toolkits/dataforb2b) - DataForB2B is a B2B data service for searching and enriching people and companies. It helps sales and recruiting teams find accurate business contacts faster.

## Frequently Asked Questions

### Do I need my own developer credentials to use DataForB2B MCP with Composio?

Yes, DataForB2B MCP requires you to configure your own DCR OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
