mcpField
S
Search Stock News MCP Server 🚀

Search Stock News MCP Server 🚀

Local
github.com/Cognitive-StackSearch7Updated 74w ago

About Search Stock News MCP Server 🚀

Search Stock News MCP Server searches stock news through the Tavily API for MCP clients that need filters by stock, search settings, or domain. It offers configurable query templates and type-safe operations in TypeScript.

Key features

  1. 01Search stock news through Tavily
  2. 02Configurable search parameters and filters
  3. 03Filter content by domain
  4. 04Multiple search query templates
  5. 05Type-safe TypeScript operations

Use cases

  1. 01Find recent news about a specific stock
  2. 02Adjust search depth and result count
  3. 03Limit news searches to selected sites

MCP support

The MCP server provides stock-news search tools to compatible clients, retrieving results through Tavily and accepting configurable parameters and filters.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"search-stock-news": {
"command": "npx",
"args": [
"-y",
"search-stock-news-mcp"
]
}
}
}
Run commandnpx -y search-stock-news-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmsearch-stock-news-mcp

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Search Stock News MCP Server 🚀

VLD Logo

🔌 Compatible with Cline, Cursor, Claude Desktop, and any other MCP Clients!

Search Stock News MCP works seamlessly with any MCP client

The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.

The Search Stock News MCP server provides:

  • Real-time stock news search capabilities via Tavily API
  • Multiple customizable search query templates
  • Configurable search parameters and filtering
  • Domain-specific content filtering
  • Type-safe operations with TypeScript

Prerequisites 🔧

Before you begin, ensure you have:

  • Tavily API Key
  • Claude Desktop, Cursor, or any MCP-compatible client
  • Node.js (v16 or higher)
  • Git installed (only needed if using Git installation method)

Search Stock News MCP Server Installation ⚡

Running with NPX
npx -y search-stock-news-mcp@latest
Installing via Smithery

To install Search Stock News MCP Server for Claude Desktop automatically via Smithery:

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

Configuring MCP Clients ⚙️

Configuring Cline 🤖

The easiest way to set up the Search Stock News MCP server in Cline is through the marketplace:

  1. Open Cline in VS Code
  2. Click on the Cline icon in the sidebar
  3. Navigate to the "MCP Servers" tab
  4. Search "Search Stock News" and click "install"
  5. When prompted, enter your Tavily API key

Alternatively, manually configure the server in Cline:

  1. Open the Cline MCP settings file:
# 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. Add the Search Stock News server configuration:
{
  "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": []
    }
  }
}
Configuring Cursor 🖥️

To set up the Search Stock News MCP server in Cursor:

  1. Open Cursor Settings
  2. Navigate to Features > MCP Servers
  3. Click on the "+ Add New MCP Server" button
  4. Fill out the following information:
    • Name: "search-stock-news-mcp"
    • Type: "command"
    • Command:
    env TAVILY_API_KEY=your-api-key-here npx -y search-stock-news-mcp@latest
    
Configuring Claude Desktop 🖥️
For macOS:
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
For Windows:
code %APPDATA%\Claude\claude_desktop_config.json

Add the server configuration:

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

Usage Examples 🎯

  1. Basic Stock News Search:
{
  "symbol": "AAPL",
  "companyName": "Apple Inc.",
  "maxResults": 10
}
  1. Advanced Search with Filters:
{
  "symbol": "TSLA",
  "companyName": "Tesla Inc.",
  "maxResults": 20,
  "searchDepth": "advanced",
  "minScore": 0.6
}
  1. Custom Domain Search:
{
  "symbol": "MSFT",
  "companyName": "Microsoft Corporation",
  "includeDomains": ["reuters.com", "bloomberg.com"]
}

Troubleshooting 🛠️

Common Issues
  1. Server Not Found

    • Verify npm installation
    • Check configuration syntax
    • Ensure Node.js is properly installed
  2. API Key Issues

    • Verify your Tavily API key is valid
    • Check the API key is correctly set in config
    • Ensure no spaces or quotes around the API key
  3. Search Results Issues

    • Check search parameters are within valid ranges
    • Verify domain filters are correctly formatted
    • Ensure company name and symbol are accurate

Acknowledgments ✨

  • Model Context Protocol for the MCP specification
  • Anthropic for Claude Desktop
  • Tavily for the News Search API

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.