martinKindall/mcp_server_demo_market
3.1
If you are the rightful owner of mcp_server_demo_market and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This MCP server is a demo for retrieving market status and news using the finnhub.io API.
MCP Server demo for Market news
This MCP server is a wrapper around some finnhub.io API calls for retrieving market status and market news. It is a very simple demo but it is enough to get started around MCP servers using the Java SDK of the model context protocol.
Requirements
- Java 21 or greater
- Maven
- Claude Desktop (free plan)
- Finnhub account (free plan)
Installation
-
mvn clean package
- Add a configuration for Claude Desktop
- Windows or Mac (https://modelcontextprotocol.io/quickstart/server#windows)
- Add the following into the claude_desktop_config.json file:
-
{ "mcpServers": { "US_stock_market_status": { "command": "java", "args": [ "-jar", "<PATH-TO-JAR>" ], "env": { "FINNHUB_API_TOKEN": "<INSERT-TOKEN>" } } } }
-
- Restart Claude Desktop, and enable this tool.
- Example prompts:
- Give me the latest market news.
- Give me the latest market news. Just 1 new and give priority to the news related to the attacks between Israel and Iran.
- Give me the top 3 latest market news with their reference urls and the original headlines.