2,500+ MCP servers ready to use
Vinkius

Diffbot MCP Server for LlamaIndex 10 tools — connect in under 2 minutes

Built by Vinkius GDPR 10 Tools Framework

LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add Diffbot as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.

Vinkius supports streamable HTTP and SSE.

python
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
    mcp_tool_spec = McpToolSpec(client=mcp_client)
    tools = await mcp_tool_spec.to_tool_list_async()

    agent = FunctionAgent(
        tools=tools,
        llm=OpenAI(model="gpt-4o"),
        system_prompt=(
            "You are an assistant with access to Diffbot. "
            "You have 10 tools available."
        ),
    )

    response = await agent.run(
        "What tools are available in Diffbot?"
    )
    print(response)

asyncio.run(main())
Diffbot
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Diffbot MCP Server

Connect your Diffbot account to any AI agent and take full control of your automated web data extraction through natural conversation.

LlamaIndex agents combine Diffbot tool responses with indexed documents for comprehensive, grounded answers. Connect 10 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.

What you can do

  • Automated Page Classification — Use the Analyze API to automatically determine if a page is an article, product, or list and extract structured data natively
  • Article Extraction — Extract news, blog, or article content into clean HTML and plain text, identifying authors, dates, and categorical classifications limitlessly
  • E-commerce Intelligence — Capture structured product details including precise pricing, brand mappings, SKU, and specifications across any web boundary
  • Media & Social Auditing — Extract primary images and embedded video metadata, or analyze forum threads and reviews with automated sentiment scoring
  • List & Search Scraping — Identify bounded directories and search results on any page to extract arrays of item titles and links strictly
  • Job Posting Analysis — Retrieve explicitly mapped job titles, employers, and salary vectors from recruitment pages to monitor market trends
  • Custom Rule Execution — Execute user-defined custom extraction logic by bridging raw URLs to your trained Diffbot dashboard rulesets

The Diffbot MCP Server exposes 10 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Diffbot to LlamaIndex via MCP

Follow these steps to integrate the Diffbot MCP Server with LlamaIndex.

01

Install dependencies

Run pip install llama-index-tools-mcp llama-index-llms-openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.py and run: python agent.py

04

Explore tools

The agent discovers 10 tools from Diffbot

Why Use LlamaIndex with the Diffbot MCP Server

LlamaIndex provides unique advantages when paired with Diffbot through the Model Context Protocol.

01

Data-first architecture: LlamaIndex agents combine Diffbot tool responses with indexed documents for comprehensive, grounded answers

02

Query pipeline framework lets you chain Diffbot tool calls with transformations, filters, and re-rankers in a typed pipeline

03

Multi-source reasoning: agents can query Diffbot, a vector store, and a SQL database in a single turn and synthesize results

04

Observability integrations show exactly what Diffbot tools were called, what data was returned, and how it influenced the final answer

Diffbot + LlamaIndex Use Cases

Practical scenarios where LlamaIndex combined with the Diffbot MCP Server delivers measurable value.

01

Hybrid search: combine Diffbot real-time data with embedded document indexes for answers that are both current and comprehensive

02

Data enrichment: query Diffbot to augment indexed data with live information before generating user-facing responses

03

Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying Diffbot for fresh data

04

Analytical workflows: chain Diffbot queries with LlamaIndex's data connectors to build multi-source analytical reports

Diffbot MCP Tools for LlamaIndex (10)

These 10 tools become available when you connect Diffbot to LlamaIndex via MCP:

01

analyze_page

Diffbot uses ML to determine if the page is an article, product, image, video, event, list, or job, and returns the appropriate structured JSON. Excellent generalized entry point. Automatically classify and extract page data using Diffbot Analyze API

02

extract_article

Pass optional discussion=false to skip extracting comments. Extract news, blog, or article content using Diffbot Article API

03

extract_custom_api

Diffbot will extract data according to your custom ruleset. Extract using a user-defined custom Diffbot API

04

extract_discussion

Extract forum threads, reviews, or comments using Diffbot Discussion API

05

extract_event

Extract event schedules and details using Diffbot Event API

06

extract_image

Extract main images from a page using Diffbot Image API

07

extract_job

Extract job postings using Diffbot Job API

08

extract_list

Extract lists or search results using Diffbot List API

09

extract_product

Extract e-commerce product details using Diffbot Product API

10

extract_video

Extract video content and metadata using Diffbot Video API

Example Prompts for Diffbot in LlamaIndex

Ready-to-use prompts you can give your LlamaIndex agent to start working with Diffbot immediately.

01

"Extract the article content from: https://techcrunch.com/2024/01/01/ai-trends"

02

"What is the price and SKU for this product: [E-commerce URL]"

03

"Search for news about 'OpenAI' using: [News List URL]"

Troubleshooting Diffbot MCP Server with LlamaIndex

Common issues when connecting Diffbot to LlamaIndex through the Vinkius, and how to resolve them.

01

BasicMCPClient not found

Install: pip install llama-index-tools-mcp

Diffbot + LlamaIndex FAQ

Common questions about integrating Diffbot MCP Server with LlamaIndex.

01

How does LlamaIndex connect to MCP servers?

Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
02

Can I combine MCP tools with vector stores?

Yes. LlamaIndex agents can query Diffbot tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
03

Does LlamaIndex support async MCP calls?

Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.

Connect Diffbot to LlamaIndex

Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.