# Dappier MCP Server
Source: https://docs.dappier.com/integrations/dappier-mcp-server-integration



Dappier MCP Server is a Model Context Protocol (MCP) server that connects any LLM or Agentic AI to real-time, rights-cleared, proprietary data from trusted sources. It enables your AI to become an expert in anything by providing access to specialized models, including Real-Time Web Search, News, Sports, Financial Stock Market Data, Crypto Data, and exclusive content from premium publishers.

Explore a wide range of data models in our [marketplace.](https://marketplace.dappier.com/marketplace)

[![GitHub](https://img.shields.io/badge/Open%20in-GitHub-181717?logo=github)](https://github.com/DappierAI/dappier-mcp)

## Features

* **Real-Time Web Search**: Access real-time Google web search results, including the latest news, weather, stock prices, travel, deals, and more.
* **Stock Market Data**: Get real-time financial news, stock prices, and trades from Polygon.io, with AI-powered insights and up-to-the-minute updates.
* **AI-Powered Recommendations**: Personalized content discovery across Sports, Lifestyle News, and niche favorites like I Heart Dogs, I Heart Cats, Green Monster, WishTV, and many more.
* **Structured JSON Responses**: Rich metadata for articles, including titles, summaries, images, and source URLs.
* **Flexible Customization**: Choose from predefined data models, similarity filtering, reference domain filtering, and search algorithms.

## Tools

### Real-Time Data Search

* **Name**: `dappier_real_time_search`
* **Description**: Retrieves direct answers to real-time queries using AI-powered search. This includes web search results, financial information, news, weather, stock market updates, and more.

#### Parameters

* `query` (str): The user-provided query. Examples include:
  * `"How is the weather today in Austin, TX?"`
  * `"What is the latest news for Meta?"`
  * `"What is the stock price for AAPL?"`

* `ai_model_id` (str) *Optional*:
  * The AI model ID to use for the query.
  * Defaults to `"am_01j06ytn18ejftedz6dyhz2b15"`.
  * Multiple AI model IDs are available, which can be found at
    [Dappier marketplace.](https://marketplace.dappier.com/marketplace)

### AI Recommendations

* **Name**: `dappier_ai_recommendations`
* **Description**: Provides AI-powered content recommendations based on structured data models. Returns a list of articles with titles, summaries, images, and source URLs.

#### Parameters

* `query` (str): The user query for retrieving recommendations.

* `data_model_id` (str) *Optional*:
  * The data model ID to use for recommendations.
  * Defaults to `"dm_01j0pb465keqmatq9k83dthx34"`.

* `similarity_top_k` (int) *Optional*:
  * The number of top documents to retrieve based on similarity.
  * Defaults to `9`.

* `ref` (str) *Optional*:
  * The site domain where AI recommendations should be displayed.
  * Defaults to `None`.

* `num_articles_ref` (int) *Optional*:
  * The minimum number of articles to return from the specified reference domain (`ref`).
  * The remaining articles will come from other sites in the RAG model.
  * Defaults to `0`.

* `search_algorithm` (str) *Optional*:
  * The search algorithm to use for retrieving articles.
  * Options:
    * `"most_recent"` (default),
    * `"semantic"`,
    * `"most_recent_semantic"`,
    * `"trending"`.

## Setup

### Get Dappier API Key

You can go to [here](https://platform.dappier.com/profile/api-keys) to get API Key from Dappier.

### Install Dependencies

First, install `uv`.

**macOS/Linux:**

```bash  theme={null}
curl -LsSf https://astral.sh/uv/install.sh | sh
```

**Windows:**

```bash  theme={null}
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

### Install Dappier MCP Server

```bash  theme={null}
pip install dappier-mcp
```

Or, using `uv`:

```bash  theme={null}
uv pip install dappier-mcp
```

## Using with Clients

Once installed, the Dappier MCP Server can be run with:

```bash  theme={null}
uvx dappier-mcp
```

It will start a local MCP server that speaks the Model Context Protocol. Any LLM client or Agent SDK that supports MCP—such as OpenAI Agents SDK or Claude Desktop—can connect to this server and use the tools you’ve enabled.

> **Note**: You may need to put the full path to the `uv` executable in the `command` field if using a custom client integration.\
> You can get this by running `which uv` on macOS/Linux or `where uv` on Windows.

## Examples

### Real-Time Data Search

* `"How is the weather today in Austin, TX?"`
* `"What is the latest news for Meta?"`
* `"What is the stock price for AAPL?"`

### AI Recommendations

* `"Show me the latest sports news."`
* `"Find trending articles on sustainable living."`
* `"Get pet care recommendations from IHeartDogs AI."`

## Debugging

Run the MCP inspector to debug the server:

```bash  theme={null}
npx @modelcontextprotocol/inspector uvx dappier-mcp
```

## Conclusion

The Dappier MCP Server lets you supercharge your AI agents with real-time, rights-cleared information from a growing network of trusted data providers. Whether you're building an assistant that tracks breaking news, analyzes financial data, or delivers personalized content recommendations, Dappier provides the foundation for real-time intelligence at scale.