Dappier 智能数据连接器
Dappier MCP服务器可以将任何人工智能连接到专有的实时数据,包括网络搜索、新闻、体育、股票市场数据和优质发布商内容。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"dappier": {
"args": [
"dappier-mcp"
],
"command": "uvx",
"env": {
"DAPPIER_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
该服务需要配置环境变量:DAPPIER_API_KEY
可用工具 (2 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
dappier_real_time_search 2 个参数 需填 2 项
Retrieve real-time search data from Dappier by processing an AI model that supports two key capabilities: - Real-Time Web Search: Access the latest news, weather, travel information, deals, and more using model `am_01j06ytn18ejftedz6dyhz2b15`. - Stock Market Data: Retrieve real-time financial news, stock prices, and trade updates using model `am_01j749h8pbf7ns8r1bq9s2evrh`. Based on the provided `ai_model_id`, the tool selects the appropriate model and returns search results.
必填参数:query、ai_model_id
dappier_ai_recommendations 6 个参数 需填 2 项
Fetch AI-powered recommendations from Dappier by processing the provided query with a selected data model that tailors results to specific interests. - **Sports News (dm_01j0pb465keqmatq9k83dthx34):** Get real-time news, updates, and personalized content from top sports sources. - **Lifestyle News (dm_01j0q82s4bfjmsqkhs3ywm3x6y):** Access current lifestyle updates, analysis, and insights from leading lifestyle publications. - **iHeartDogs AI (dm_01j1sz8t3qe6v9g8ad102kvmqn):** Tap into a dog care expert with access to thousands of articles covering pet health, behavior, grooming, and ownership. - **iHeartCats AI (dm_01j1sza0h7ekhaecys2p3y0vmj):** Utilize a cat care specialist that provides comprehensive content on cat health, behavior, and lifestyle. - **GreenMonster (dm_01j5xy9w5sf49bm6b1prm80m27):** Receive guidance for making conscious and compassionate choices benefiting people, animals, and the planet. - **WISH-TV AI (dm_01jagy9nqaeer9hxx8z1sk1jx6):** Get recommendations covering sports, breaking news, politics, multicultural updates, and more. Based on the chosen `data_model_id`, the tool processes the input query and returns a formatted summary including article titles, summaries, images, source URLs, publication dates, and relevance scores.
必填参数:query、data_model_id
服务介绍
Dappier MCP 服务器
这是一个模型上下文协议(MCP)服务器,它将任何大语言模型或代理型人工智能连接到来自可信来源的实时、已授权的专有数据。Dappier 通过提供包括实时网络搜索、新闻、体育、金融市场数据、加密货币数据以及来自优质发布商的独家内容在内的专业模型访问权限,使您的 AI 能够成为任何领域的专家。在 marketplace.dappier.com 上探索我们市场中的各种数据模型。
功能
- 实时网络搜索:访问包括最新新闻、天气、股票价格、旅行信息、优惠等在内的实时 Google 网络搜索结果。
- 股市数据:从 Polygon.io 获取实时财经新闻、股票价格和交易信息,具备由 AI 驱动的洞察及即时更新。
- AI 驱动的推荐:跨体育、生活方式新闻以及像 I Heart Dogs, I Heart Cats, Green Monster, WishTV 等细分领域的内容个性化发现。
- 结构化的 JSON 响应:为文章提供丰富的元数据,包括标题、摘要、图片和来源 URL。
- 灵活自定义:选择预定义的数据模型、相似性过滤、参考域过滤及搜索算法。
工具
1. 实时数据搜索
- 名称:
dappier_real_time_search - 描述:使用 AI 支持的搜索来检索实时查询的直接答案。这包括网络搜索结果、财务信息、新闻、天气、股市更新等。
- 参数:
query(字符串, 必需): 用户提供的用于获取实时数据的输入字符串。ai_model_id(字符串, 可选): 用于查询的 AI 模型 ID。默认值为am_01j06ytn18ejftedz6dyhz2b15(实时数据)。
2. AI 推荐
- 名称:
dappier_ai_recommendations - 描述: 根据结构化数据模型提供基于AI的内容推荐。返回带有标题、摘要、图片和源URL的文章列表。
- 参数:
query(字符串, 必需): 用户提供的用于AI推荐的输入字符串。data_model_id(字符串, 可选): 用于推荐的数据模型ID。默认为dm_01j0pb465keqmatq9k83dthx34(体育新闻)。similarity_top_k(整数, 可选): 根据相似度检索的顶级文档数量。默认为9。ref(字符串, 可选): 应显示AI推荐的网站域名。默认为None。num_articles_ref(整数, 可选): 从指定参考域 (ref) 返回的文章最小数量。默认为0。search_algorithm(字符串, 可选): 用于检索文章的搜索算法。选项:most_recent,semantic,most_recent_semantic,trending。默认为most_recent。
安装说明
通过 Smithery 安装
要通过 Smithery 自动安装适用于 Claude Desktop 的 dappier-mcp:
npx -y @smithery/cli install @DappierAI/dappier-mcp --client claude
1. 获取 Dappier API 密钥
前往 Dappier 注册并生成一个API密钥。
2. 安装依赖项
首先安装 uv。
MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
3. 安装 Dappier MCP 服务器
pip install dappier-mcp
或者如果你已经安装了 uv:
uv pip install dappier-mcp
4. 配置 Claude Desktop
使用以下内容更新你的 Claude 配置文件 (claude_desktop_config.json):
{
"mcpServers": {
"dappier": {
"command": "uvx",
"args": ["dappier-mcp"],
"env": {
"DAPPIER_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
配置文件位置:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
示例
实时数据搜索
- 查询: "今天奥斯汀,德克萨斯州的天气怎么样?"
- 查询: "关于 Meta 的最新新闻是什么?"
- 查询: "AAPL 的股票价格是多少?"
AI 推荐
- 查询: "给我看最新的体育新闻。"
- 查询: "找到关于可持续生活的热门文章。"
- 查询: "从 IHeartDogs AI 获取宠物护理建议。"
调试
运行 MCP 检查器来调试服务器:
npx @modelcontextprotocol/inspector uvx dappier-mcp
贡献
我们欢迎贡献以扩展和改进 Dappier MCP 服务器。无论您想添加新的搜索功能、增强现有功能还是改进文档,您的投入都是宝贵的。
有关其他MCP服务器和实现模式的例子,请参见:
https://github.com/modelcontextprotocol/servers
欢迎提交拉取请求!请随时贡献新想法、错误修复或增强功能。