

TODAY'S ISSUE
TODAY’S DAILY DOSE OF DATA SCIENCE
[Hands-on] MCP-powered Deep Researcher
ChatGPT has a deep research feature. It helps you get detailed insights on any topic.
Today, let us show you how you can build a 100% local alternative to it.
Tech stack:
- ​Linkup​ for deep web research.
- CrewAI for multi-agent orchestration.
- Ollama to locally serve DeepSeek-R1.
- Cursor as the MCP host..
Here’s the system overview:

- User submits a query.
- Web search agent runs deep web search via ​Linkup​.
- Research analyst verifies and deduplicates results.
- Technical writer crafts a coherent response with citations.
The code repository is linked later in the issue.
If you prefer to watch, here's a video version of this newsletter issue:
Implementation
Local deep researcher using MCP
Let’s implement the flight-finder now!
Setup LLM
We'll use a locally served DeepSeek-R1 using Ollama.

Define Web Search Tool
We'll use Linkup’s powerful search capabilities, which rival Perplexity and OpenAI, to power our web search agent.
This is done by defining a custom tool that our agent can use.

Define Web Search Agent
The web search agent gathers up-to-date information from the internet based on user query.
The linkup tool we defined earlier is used by this agent.

Define Research Analyst Agent
This agent transforms raw web search results into structured insights, with source URLs.
It can also delegate tasks back to the web search agent for verification and fact-checking.

Define Technical Writer Agent
It takes the analyzed and verified results from the analyst agent and drafts a coherent response with citations for the end user.

Setup Crew
Finally, once we have all the agents and tools defined, we set up and kick off our deep researcher crew.

Create MCP Server
Now, we'll encapsulate our deep research team within an MCP tool. With just a few lines of code, our MCP server will be ready.
Here’s how to connect it with Cursor:

Integrate MCP server with Cursor
Go to: File → Preferences → Cursor Settings → MCP → Add new global MCP server.
In the JSON file, add what's shown below:

Done! Your deep research MCP server is live and connected to Cursor (you can also connect it to Claude Desktop if you’d like).

To use Deep Researcher independently, we have also created a nice Streamlit UI where you can see a deep research on “small language models”:
And that’s your MCP-powered 100% local deep researcher!
​Find the code in this GitHub repo →​ (don’t forget to star the repo)
👉 Over to you: What other demos would you like to see?
Thanks for reading!
THAT'S A WRAP
No-Fluff Industry ML resources to
Succeed in DS/ML roles

At the end of the day, all businesses care about impact. That’s it!
- Can you reduce costs?
- Drive revenue?
- Can you scale ML models?
- Predict trends before they happen?
We have discussed several other topics (with implementations) in the past that align with such topics.
Here are some of them:
- Learn sophisticated graph architectures and how to train them on graph data in this crash course.
- So many real-world NLP systems rely on pairwise context scoring. Learn scalable approaches here.
- Run large models on small devices using Quantization techniques.
- Learn how to generate prediction intervals or sets with strong statistical guarantees for increasing trust using Conformal Predictions.
- Learn how to identify causal relationships and answer business questions using causal inference in this crash course.
- Learn how to scale and implement ML model training in this practical guide.
- Learn 5 techniques with implementation to reliably test ML models in production.
- Learn how to build and implement privacy-first ML systems using Federated Learning.
- Learn 6 techniques with implementation to compress ML models.
All these resources will help you cultivate key skills that businesses and companies care about the most.
SPONSOR US
Advertise to 600k+ data professionals
Our newsletter puts your products and services directly in front of an audience that matters — thousands of leaders, senior data scientists, machine learning engineers, data analysts, etc., around the world.