Diffbot MCP server for AI agents

Live

API KEY

WEB DATA EXTRACTION

AI

Diffbot gives your agent web data from your Diffbot account: extract articles, products, events, and more from page URLs, search the Knowledge Graph with DQL, enhance person and organization records, and run crawl and bulk jobs.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Diffbot
agent · Acme Q3
Run
Extract the product name, price, and availability from this page.
S
diffbot_extract_product
2140ms
Web data agent
Extracted the product's name, price, availability, and specs from the page.
Sources: Diffbot Extract, 1 page
diffbot
1 product
18:29
Message Claude...

Tools your web data extraction agent reaches for on Diffbot, scoped per user.

CALL ANY TOOL
39 tools for web data extraction in Diffbot: extract articles, products, and other page types, search the Knowledge Graph, enhance records, and run crawl and bulk jobs.
diffbot_account_get
Get account
Get the Diffbot token's account details and API usage. Returns the plan, token status, credit usage and daily API call volumes. Use it to check the token works and how many credits are left.
Parameters
Name
Type
Required
Description
days
integer
Optional
Number of days of API call volume to return. Defaults to 31. Example: 31.
diffbot_bulk_data_get
Get bulk data
diffbot_bulk_job_create
Create bulk job
diffbot_bulk_job_delete
Delete bulk job
diffbot_bulk_job_pause
Pause bulk job
diffbot_bulk_job_restart
Bulk job restart
diffbot_bulk_jobs_list
List bulk jobs
diffbot_crawl_create
Create crawl
diffbot_crawl_data_get
Get crawl data
diffbot_crawl_job_delete
Delete crawl job
diffbot_crawl_job_pause
Pause crawl job
diffbot_crawl_job_round_start
Start crawl job round
diffbot_crawl_jobs_list
List crawl jobs
diffbot_custom_api_extract
Custom api extract
diffbot_custom_api_rules_list
List custom api rules
diffbot_custom_api_rules_save
Custom api rules save
diffbot_dql_report_create
Create dql report
diffbot_dql_search
Search dql
diffbot_enhance
Enhance
diffbot_enhance_bulk_coverage_report_get
Get enhance bulk coverage report
diffbot_enhance_bulk_jobs_list
List enhance bulk jobs
diffbot_enhance_bulk_result_get
Get enhance bulk result
diffbot_enhance_bulk_results_get
Get enhance bulk results
diffbot_enhance_bulk_stop
Stop enhance bulk
diffbot_extract_article
Extract article
diffbot_extract_discussion
Extract discussion
diffbot_extract_event
Extract event
diffbot_extract_job
Extract job
diffbot_extract_product
Extract product
diffbot_extract_video
Extract video

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Diffbot tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["diffbot"], toolNames: [
    "diffbot_extract_analyze",
    "diffbot_extract_article",
    "diffbot_dql_search"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Classify this URL, extract the article from it, and search the Knowledge Graph for the company it covers" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["diffbot"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Classify this URL, extract the article from it, and search the Knowledge Graph for the company it covers" }],
  tools,
});

// Execute the tool call with the user's vaulted Diffbot API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["diffbot"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Classify this URL, extract the article from it, and search the Knowledge Graph for the company it covers" }],
  tools,
});

// Tool call runs with the user's vaulted Diffbot API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["diffbot"] }, pageSize: 100,
});

const agent = new Agent({
  name: "web_data_agent",
  model: "gemini-2.5-pro",
  instruction: "Diffbot tools scoped to this user",
  tools,
});

await agent.run("Classify this URL, extract the article from it, and search the Knowledge Graph for the company it covers");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Diffbot tool. Click to copy, paste into your agent, done.
Extract pages
Copy the prompt
Copied
Extract the article text and author from this URL.
Copy the prompt
Copied
Extract the product details from this page.
Copy the prompt
Copied
Classify what type of page this URL is.
Knowledge Graph
Copy the prompt
Copied
Search the Knowledge Graph for software companies in Berlin.
Copy the prompt
Copied
Match this person from their name and employer.
Copy the prompt
Copied
Generate a coverage report for that DQL query.
Crawl and bulk jobs
Copy the prompt
Copied
Crawl this site from the seed URL and extract the product pages.
Copy the prompt
Copied
Start a bulk job that extracts these 100 URLs.
Copy the prompt
Copied
Show the status of my crawl jobs.
SEE HOW AUTH WORKS
Each user connects their own Diffbot API key once, and Scalekit sends it with every call. API keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Diffbot
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Diffbot
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Diffbot
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Diffbot
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other AI connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Diffbot API key looks fine in a demo. In production every extraction looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Diffbot today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Diffbot as the user or through a shared key?
As the user. Each user connects their own Diffbot API key once, and Scalekit sends it with every call. Audit logs attribute every extraction to that user, not a shared service account.
Where is the Diffbot API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Diffbot?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the extract, search, and list tools without diffbot_crawl_job_delete, which deletes a crawl job and all its data, and diffbot_bulk_job_restart, which erases processed data. 5 of the 39 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Diffbot access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent run a large extraction?
diffbot_bulk_job_create starts a bulk job that extracts a list of URLs with an Extract API, diffbot_bulk_jobs_list shows its status, and diffbot_bulk_data_get downloads the extracted data.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""diffbot"": {
""url"": ""https://mcp.scalekit.com/diffbot"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.diffbot]
url = ""https://mcp.scalekit.com/diffbot""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""diffbot"": {
""url"": ""https://mcp.scalekit.com/diffbot"",
""type"": ""http""
}
}
}