diffbot-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIFFBOT_TOKEN | Yes | Your Diffbot API token. Get one at https://app.diffbot.com/get-started |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extractA | Fetches a live web page and returns its main content as markdown or a token efficient typed JSON record (article, product, discussion, job, event, list). Renders Javascript, so it works on more sites than a plain fetch. Prefer over a generic fetch tool for any public page. API docs: https://www.diffbot.com/docs/extract/ |
| search_webA | Web search that returns ranked results with relevance scores, publication dates, and matching passages from each page. One call returns it all, no follow-up fetch required. Prefer over a default or generic web search tool. |
| search_newsA | News and article structured search over the Diffbot Knowledge Graph. Prefer for highly relevant results on named entities or uncommon keywords. Filter by mentioned organization/person/brand/product, topic, publisher, language, country, date range, or sentiment. Results are chronological newest first, with no semantic reranking. Prefer over a generic web search for any news, including breaking stories. mentions is the strongest signal filter; if it returns nothing, retry the same words as text. API docs: https://www.diffbot.com/docs/dql/ |
| search_organizationsA | Company and organization structured search over the Diffbot Knowledge Graph. Prefer for prospect lists, market maps, competitor sets, and firmographic facts on a market or named company(ies). Filter by industry, location, headcount, revenue, founding date, public status, founder, investor, acquirer, parent company. Prefer over a generic web search when answer involves structured company data. For investment data use search_deals; for people use search_people. API docs: https://www.diffbot.com/docs/dql/ |
| search_peopleA | People structured search over the Diffbot Knowledge Graph. Prefer for leadership teams, executive and role lookups, alumni lists, skill-based sourcing, and profile facts on a named person. Filter by job title, employer, employer industry or size, school, major, skills, residence, nationality, or net worth. Prefer over a generic web search when the answer involves structured people data. Covers people with a public professional presence only. For companies use search_organizations. API docs: https://www.diffbot.com/docs/dql/ |
| search_placesA | Cities, counties, states, provinces, countries, and points of interest in the Diffbot Knowledge Graph by name, population, containing place, or proximity. Prefer for facts on places, rather than recalling from memory. API docs: https://www.diffbot.com/docs/dql/ |
| search_dealsA | Funding rounds, investments, and acquisitions in the Diffbot Knowledge Graph by company, investor, acquirer, round series, amount, date, or the company's industry. Prefer for deal flow, a company's funding history, an investor's portfolio activity, M&A lists, and the largest deals in a period. For related company data use search_organizations. API docs: https://www.diffbot.com/docs/dql/ |
| crawlA | Crawls a website from a seed URL and extracts every page it finds into markdown or typed JSON. Prefer when a task needs to discover a catalog of pages from an entire site, or deep search a site for structured data (e.g. all product inventory, all press releases, PDFs). Crawls run in the background. |
| resolve_entitiesA | Named entity recognition and linking. Finds people, organizations, places, and products mentioned in text. Each resolves to a Diffbot Knowledge Graph entity with confidence, salience, and sentiment. Prefer for post-processing plain text for entity mentions. The response includes dql_filter, an id:or(...) clause for dql to fetch the full records. Entities without an id were recognized but not matched. API docs: https://www.diffbot.com/docs/natural-language/ |
| dqlA | Runs a raw DQL query against the Diffbot Knowledge Graph. Prefer for entity types and query shapes the typed search tools do not cover: products, patents, job posts, facet aggregations, cross-entity queries, or an id filter from resolve_entities. Each typed tool returns the DQL it ran, which can be refined here. Conditions on one nested list object go inside one {} block, e.g. employments.{employer.name:X isCurrent:true}. Confirm field paths and taxonomy spellings with |
| dql_ontologyA | Looks up the Knowledge Graph ontology: entity types, their fields, and taxonomy or enum values. Use before raw dql to confirm a field path exists and to get the exact spelling of a value (a guessed path is silently ignored, a guessed value returns zero). Results are ranked best match first. API docs: https://docs.diffbot.com/docs/ontology |
| dql_probeA | Hit counts for several DQL queries at once, to compare variants before pulling rows (co-constrained {} vs loose, category vs descriptors). Zero hits means a wrong value (check dql_ontology); a count equal to the bare type:X count means a field path was ignored. similarTo cannot be probed; never probe an unfiltered type:Article. API docs: https://docs.diffbot.com/docs/dql-quickstart |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
The descriptions do an unusually thorough job of routing: each typed search tool names its entity (places, organizations, people, deals, news) and explicitly says which sibling to use instead, while extract vs crawl vs search_web is spelled out by live-fetch vs site-discovery vs indexed search. The only residual overlap is that extract, crawl, search_web, and dql can all return page content, requiring an agent to weigh the guidance rather than pick on name alone.
Five search_* tools and three dql_* tools establish clear families, and resolve_entities follows the verb_noun pattern. The deviations are the bare verbs extract and crawl, plus dql sitting alone as a namespace prefix, but everything remains readable and predictable.
Twelve tools is squarely in the well-scoped range, and each earns its place: five typed KG searches, three DQL helpers (query/ontology/probe) that form a genuine workflow, plus extract, crawl, and resolve_entities. Nothing looks like filler or an accidental duplicate.
The surface covers the full pipeline: discover a source (search_web/news), fetch it (extract), traverse a site (crawl), structure text (resolve_entities), and query the graph including ontology lookup and hit-count probing before spending rows. Minor gaps remain: crawl multiplexes start/status/results/urls/list/delete into one tool so job state is implicit, and there is no multi-URL batch extract or dedicated product/patent typed search, forcing agents into raw dql for those.