mcp/tools/tools library

MCP tools for the finance-mcp server.

This library provides modular tool implementations that can be registered with any MCP server, regardless of transport type (stdio, StreamableHTTP).

Classes

BaseTool
Base class for all MCP tools.
GetCompanyInfoTool
Tool for retrieving basic company metadata and CIK number.
GetFinancialStatementsTool
Tool for retrieving comprehensive financial statements with computed metrics.
GetSecFilingsTool
Tool for retrieving SEC EDGAR filings for sentiment analysis.

Extensions

ToolRegistration on McpServer
Extension to register tools with an MCP server.

Functions

createAllTools(FinancialDataService dataService) List<BaseTool>
Creates all available tools with the provided FinancialDataService.