what is mcp-server-yahoo-finance?
The mcp-server-yahoo-finance is a server implementation designed to provide a simple note storage system specifically for managing notes related to Yahoo Finance.
how to use mcp-server-yahoo-finance?
To start using the mcp-server-yahoo-finance, you need to install it and set up the necessary configurations to connect with your note management system. Follow the installation steps for your operating system and configure the server as needed.
key features of mcp-server-yahoo-finance?
- Custom note:// URI scheme for accessing individual notes.
- Summarization prompt for creating summaries of all stored notes, with varying detail levels.
- Tool for adding new notes with essential metadata like name and content.
use cases of mcp-server-yahoo-finance?
- Storing and managing financial notes effectively for individual or team use.
- Summarizing long-form notes to quickly glean insights from financial information.
- Adding and categorizing notes for enhanced organization related to market trends and financial data.
FAQ from mcp-server-yahoo-finance?
- What types of notes can be stored?
The server can store various notes related to financial data, including summaries, analyses, and research notes.
- Is there a limit to the number of notes I can store?
No specific limits are mentioned, but usability may vary based on the server's performance and storage capacity.
- How do I summarize my stored notes?
Use the 'summarize-notes' prompt, and specify your preferred detail level for the summary.
mcp-server-yahoo-finance MCP server
MCP Server for Yahoo Finance
Components
Resources
The server implements a simple note storage system with:
- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description and text/plain mimetype
Prompts
The server provides a single prompt:
- summarize-notes: Creates summaries of all stored notes
- Optional "style" argument to control detail level (brief/detailed)
- Generates prompt combining all current notes with style preference
Tools
The server implements one tool:
- add-note: Adds a new note to the server
- Takes "name" and "content" as required string arguments
- Updates server state and notifies clients of resource changes
Configuration
[TODO: Add configuration details specific to your implementation]
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
``` "mcpServers": { "mcp-server-yahoo-finance": { "command": "uv", "args": [ "--directory", "/Users/josh/src/mcp-server-yahoo-finance", "run", "mcp-server-yahoo-finance" ] } } ```Published Servers Configuration
``` "mcpServers": { "mcp-server-yahoo-finance": { "command": "uvx", "args": [ "mcp-server-yahoo-finance" ] } } ```Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/
directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--token
orUV_PUBLISH_TOKEN
- Or username/password:
--username
/UV_PUBLISH_USERNAME
and--password
/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/josh/src/mcp-server-yahoo-finance run mcp-server-yahoo-finance
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.