Search Stock News MCP Server

Integrations

  • Required as a runtime environment for the Search Stock News MCP server, with version 16 or higher needed.

  • Used for type-safe operations within the Search Stock News MCP server.

🔌与 Cline、Cursor、Claude Desktop 和任何其他 MCP 客户端兼容!

搜索股票新闻 MCP 与任何 MCP 客户端无缝协作

模型上下文协议 (MCP) 是一种开放标准,使 AI 系统能够与各种数据源和工具无缝交互,促进安全的双向连接。

搜索股票新闻 MCP 服务器提供:

  • 通过 Tavily API 提供实时股票新闻搜索功能
  • 多个可定制的搜索查询模板
  • 可配置的搜索参数和过滤
  • 特定域的内容过滤
  • 使用 TypeScript 进行类型安全操作

先决条件🔧

在开始之前,请确保您已:

  • Tavily API 密钥
  • Claude Desktop、Cursor 或任何兼容 MCP 的客户端
  • Node.js(v16 或更高版本)
  • 已安装 Git(仅在使用 Git 安装方法时才需要)

搜索股票新闻 MCP 服务器安装⚡

使用 NPX 运行

npx -y search-stock-news-mcp@latest

通过 Smithery 安装

要通过 Smithery 自动为 Claude Desktop 安装 Search Stock News MCP Server:

npx -y @smithery/cli install search-stock-news-mcp --client claude

配置 MCP 客户端 ⚙️

配置 Cline 🤖

在 Cline 中设置 Search Stock News MCP 服务器的最简单方法是通过市场:

  1. 在 VS Code 中打开 Cline
  2. 点击侧边栏中的 Cline 图标
  3. 导航至“MCP 服务器”选项卡
  4. 搜索“搜索股票新闻”并点击“安装”
  5. 出现提示时,输入您的 Tavily API 密钥

或者,在 Cline 中手动配置服务器:

  1. 打开 Cline MCP 设置文件:
# For macOS: code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json # For Windows: code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  1. 添加搜索股票新闻服务器配置:
{ "mcpServers": { "search-stock-news-mcp": { "command": "npx", "args": ["-y", "search-stock-news-mcp@latest"], "env": { "TAVILY_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": [] } } }

配置光标🖥️

要在 Cursor 中设置搜索股票新闻 MCP 服务器:

  1. 打开游标设置
  2. 导航至“功能”>“MCP 服务器”
  3. 点击“+ 添加新的 MCP 服务器”按钮
  4. 填写以下信息:
    • 名称:“search-stock-news-mcp”
    • 类型:“命令”
    • 指令:GXP5

配置 Claude 桌面🖥️

对于 macOS:
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json" open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
对于 Windows:
code %APPDATA%\Claude\claude_desktop_config.json

添加服务器配置:

{ "mcpServers": { "search-stock-news-mcp": { "command": "npx", "args": ["-y", "search-stock-news-mcp@latest"], "env": { "TAVILY_API_KEY": "your-api-key-here" } } } }

使用示例🎯

  1. 基本股票新闻搜索
{ "symbol": "AAPL", "companyName": "Apple Inc.", "maxResults": 10 }
  1. 使用过滤器的高级搜索
{ "symbol": "TSLA", "companyName": "Tesla Inc.", "maxResults": 20, "searchDepth": "advanced", "minScore": 0.6 }
  1. 自定义域名搜索
{ "symbol": "MSFT", "companyName": "Microsoft Corporation", "includeDomains": ["reuters.com", "bloomberg.com"] }

故障排除🛠️

常见问题

  1. 未找到服务器
    • 验证 npm 安装
    • 检查配置语法
    • 确保 Node.js 已正确安装
  2. API 密钥问题
    • 验证您的 Tavily API 密钥是否有效
    • 检查配置中的 API 密钥是否正确设置
    • 确保 API 密钥周围没有空格或引号
  3. 搜索结果问题
    • 检查搜索参数是否在有效范围内
    • 验证域名过滤器的格式是否正确
    • 确保公司名称和符号准确

致谢✨

  • MCP 规范的模型上下文协议
  • 克劳德桌面版的 Anthropic
  • Tavily 用于新闻搜索 API

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

通过 Tavily API 提供实时股票新闻搜索功能,允许 MCP 客户端使用各种搜索参数检索经过过滤和定制的股票新闻。

  1. Search Stock News MCP Server Installation ⚡
    1. Running with NPX
    2. Installing via Smithery
  2. Configuring MCP Clients ⚙️
    1. Configuring Cline 🤖
    2. Configuring Cursor 🖥️
    3. Configuring Claude Desktop 🖥️
  3. Usage Examples 🎯
    1. Troubleshooting 🛠️
      1. Common Issues
    2. Acknowledgments ✨
      1. License

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          This MCP server performs multi-topic searches in business, news, finance, and politics using the Tavily API, providing high-quality sources and intelligent summaries.
          Last updated -
          1
          1
          Python
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Allows Claude and other MCP clients to access real-time and historical stock market data from Alpha Vantage API, including intraday and daily stock data with customizable intervals.
          Last updated -
          3
          3
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          An MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.
          Last updated -
          4
          2
          Python
        • -
          security
          F
          license
          -
          quality
          A TypeScript-based MCP server that fetches real-time stock market data and company financial information through the Alpha Vantage API.
          Last updated -
          JavaScript
          • Apple

        View all related MCP servers

        ID: 4xlrzcfsag