Search Stock News
Search for stock news using the Tavily API.
π 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:
- Open Cline in VS Code
- Click on the Cline icon in the sidebar
- Navigate to the "MCP Servers" tab
- Search "Search Stock News" and click "install"
- When prompted, enter your Tavily API key
Alternatively, manually configure the server in Cline:
- 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
- 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:
- Open Cursor Settings
- Navigate to Features > MCP Servers
- Click on the "+ Add New MCP Server" button
- 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 π―
- Basic Stock News Search:
{
"symbol": "AAPL",
"companyName": "Apple Inc.",
"maxResults": 10
}
- Advanced Search with Filters:
{
"symbol": "TSLA",
"companyName": "Tesla Inc.",
"maxResults": 20,
"searchDepth": "advanced",
"minScore": 0.6
}
- Custom Domain Search:
{
"symbol": "MSFT",
"companyName": "Microsoft Corporation",
"includeDomains": ["reuters.com", "bloomberg.com"]
}
Troubleshooting π οΈ
Common Issues
-
Server Not Found
- Verify npm installation
- Check configuration syntax
- Ensure Node.js is properly installed
-
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
-
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
Related Servers
SerpApi MCP
SerpApi MCP Server for Google and other search engine results
Perplexity Ask MCP Server
A connector for the Perplexity API to enable web search within the MCP ecosystem.
CoolPC MCP Server
Query computer component prices from Taiwan's CoolPC website to generate AI-assisted price quotes.
Wikimedia Image Search
MCP server that enables AI assistants to search Wikimedia Commons images with metadata and visual thumbnails.
USDA api
This server allow you to ask questions with way more accurate nutrition facts.
PubChem
Extracts basic chemical information about drugs and compounds from the PubChem API.
Typesense MCP Server
An MCP server for interacting with the Typesense search engine.
δΌδΈι£ι©εζζ΄ε―ζε‘
Provides comprehensive enterprise risk analysis, including violation records, mortgage information, business anomalies, and judicial cases.
Splunk
Interact with Splunk Enterprise/Cloud using natural language queries.
Bucketeer Docs Local MCP Server
A local server to query Bucketeer documentation, which automatically fetches and caches content from its GitHub repository.