logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

financial-data-retriever-service

A specialized MCP backend providing access to global equity pricing, corporate financial statements, and market performance summaries by interfacing with the Alpha Vantage public data feed. Facilitates automated retrieval of ticker metrics, balance sheets, and income reports.

Author

financial-data-retriever-service logo

MCP-100

No License

Quick Info

GitHub GitHub Stars 5
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

apiapisvantagevantage apimarket datamarket server

Equity Metrics Retrieval Node

This is a TypeScript-based Message Context Protocol (MCP) server engineered to fetch granular stock market metrics. It leverages the robustness of the Alpha Vantage API to deliver up-to-the-minute quotations and comprehensive corporate fiscal documentation.

Essential Setup References

md 1.Plan mode

I require the construction of an MCP server utilizing the AlphaVantage REST service for financial data acquisition. The required functionalities include: - Delivery of a consolidated U.S. market briefing. - Extraction of detailed financial statements for specified entities. - Real-time quoting for individual stock tickers. - Inclusion of any supplementary, contextually relevant analytical tools. - API Key Injection Point:

  1. please test all the tools to confirm their functionality

Operational Capabilities

Available Toolset

  • get_ticker_price - Retrieves the latest quoted value for a security.
  • Input parameter: Stock symbol (e.g., 'IBM').
  • Output: Current valuation and transaction timestamp.

  • get_market_report - Fetches a high-level summary of the primary U.S. trading indices' performance.

  • Output: An overview of current market sentiment and major index movements.

  • get_financial_statement - Pulls official corporate financial records.

  • Supported Document Types: 'income' (P&L), 'balance' (Balance Sheet), 'cashflow' (Cash Flow Statement).
  • Required Arguments: Ticker identifier and the specific document category.

  • get_company_overview - Acquires fundamental business intelligence.

  • Input parameter: Ticker identifier.
  • Output: Key performance indicators (KPIs) and foundational corporate metadata.

Configuration and Deployment

Dependency Installation

Execute the following in your terminal: bash npm install

Compilation Process

To build the production artifacts: bash npm run build

Iterative Development Mode

Use this command for auto-reloading on file changes: bash npm run watch

Integration Procedure

To enable this server within the Claude Desktop environment, modify the configuration file as follows:

MacOS Location

Configuration file path: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows Location

Configuration file path: %APPDATA%/Claude/claude_desktop_config.json

Example Configuration Snippet:

{ "mcpServers": { "financial-data-retriever-service": { "command": "/path/to/financial-data-retriever-service/build/index.js" } } }

Troubleshooting

Debugging inter-process communication via STDIN/STDOUT can be complex. We strongly advise utilizing the dedicated MCP Inspector utility:

bash npm run inspector

This command initiates the Inspector, furnishing a reachable URL for advanced browser-based inspection tools.

Underlying Technology Stack

  • Programming Language: TypeScript
  • Runtime Environment: Node.js
  • Data Source: Alpha Vantage API
  • Framework: MCP SDK (@modelcontextprotocol/sdk)

Critical Considerations

  • Authentication requires a valid, active API authorization key from Alpha Vantage.
  • All data payloads returned by the service will adhere strictly to the JSON serialization standard.
  • Users must remain cognizant of the rate limiting policies enforced by the external API provider.

Licensing Information

[Placeholder for License Details]

WIKIPEDIA: XMLHttpRequest (XHR) is an API in the form of a JavaScript object whose methods transmit HTTP requests from a web browser to a web server. The methods allow a browser-based application to send requests to the server after page loading is complete, and receive information back. XMLHttpRequest is a component of Ajax programming. Prior to Ajax, hyperlinks and form submissions were the primary mechanisms for interacting with the server, often replacing the current page with another one.

== History == The concept behind XMLHttpRequest was conceived in 2000 by the developers of Microsoft Outlook. The concept was then implemented within the Internet Explorer 5 browser (1999). However, the original syntax did not use the XMLHttpRequest identifier. Instead, the developers used the identifiers ActiveXObject("Msxml2.XMLHTTP") and ActiveXObject("Microsoft.XMLHTTP"). As of Internet Explorer 7 (2006), all browsers support the XMLHttpRequest identifier. The XMLHttpRequest identifier is now the de facto standard in all the major browsers, including Mozilla's Gecko layout engine (2002), Safari 1.2 (2004) and Opera 8.0 (2005).

=== Standards === The World Wide Web Consortium (W3C) published a Working Draft specification for the XMLHttpRequest object on April 5, 2006. On February 25, 2008, the W3C published the Working Draft Level 2 specification. Level 2 added methods to monitor event progress, allow cross-site requests, and handle byte streams. At the end of 2011, the Level 2 specification was absorbed into the original specification. At the end of 2012, the WHATWG took over development and maintains a living document using Web IDL.

== Usage == Generally, sending a request with XMLHttpRequest has several programming steps.

Create an XMLHttpRequest object by calling a constructor: Call the "open" method to specify the request type, identify the relevant resource, and select synchronous or asynchronous operation: For an asynchronous request, set a listener that will be notified when the request's state changes: Initiate the request by calling the "send" method: Respond to state changes in the event listener. If the server sends response data, by default it is captured in the "responseText" property. When the object stops processing the response, it changes to state 4, the "done" state. Aside from these general steps, XMLHttpRequest has many options to control how the request is sent and how the response is processed. Custom header fields can be added to the request to indicate how the server should fulfill it, and data can be uploaded to the server by providing it in the "send" call. The response can be parsed from the JSON format into a readily usable JavaScript object, or processed gradually as it arrives rather than waiting for the entire text. The request can be aborted prematurely or set to fail if not completed in a specified amount of time.

== Cross-domain requests ==

In the early development of the World Wide Web, it was found possible to brea

See Also

`