Get the FREE Ultimate OpenClaw Setup Guide →

nasdaq-data-link

A Nasdaq Data Link MCP (Model Context Protocol) Server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio stefanoamorelli-nasdaq-data-link-mcp python nasdaq_data_link_mcp_os/server.py \
  --env PYTHONPATH="/path/to/your/local/cloned/repo/nasdaq-data-link-mcp" \
  --env NASDAQ_DATA_LINK_API_KEY="your_api_key_here"

How to use

This MCP server provides tools to access Nasdaq Data Link datasets through natural language prompts. It exposes five core tools that work with Nasdaq Data Link databases: search_datasets to discover datasets by keyword, get_dataset to fetch data from a specific dataset with optional date filters, get_dataset_metadata to inspect the structure and metadata of a dataset without downloading data, list_databases to enumerate available Nasdaq Data Link databases, and export_dataset to export data in formats like JSON, CSV, or XML. After starting the server and connecting with an MCP client (such as Claude Desktop or Groq Desktop), you can invoke these tools in conversational style to locate datasets (e.g., by topic like GDP or oil prices), retrieve data with optional date ranges, preview dataset structures, and export results for downstream use.

How to install

Prerequisites:

  • Python 3.13+
  • An MCP client installed (e.g., MCP CLI, uv CLI as per project instructions)
  • Access to Nasdaq Data Link API key

Step-by-step installation:

  1. Clone the repository and navigate to the project root:
git clone https://github.com/stefanoamorelli/nasdaq-data-link-mcp.git
cd nasdaq-data-link-mcp
  1. Install and set up the MCP tooling as described in the project README (requires Python and MCP CLI):
uv init mcp
uv add "mcp[cli]"
  1. Obtain your Nasdaq Data Link API key from data.nasdaq.com and create a local .env file:
cp .env.example .env

Edit .env and add:

NASDAQ_DATA_LINK_API_KEY=your_api_key_here
  1. Set the PYTHONPATH to the repository so the server can be discovered by MCP tooling:
export PYTHONPATH=$(pwd)
  1. Install the MCP server into your MCP environment using the provided path:
uv run mcp install nasdaq_data_link_mcp_os/server.py --env-file .env --name "Nasdaq Data Link MCP Server" --with nasdaq-data-link --with pycountry
  1. Start the MCP server for local testing (adjust as needed for your environment):
uv run nasdaq_data_link_mcp_os/server.py --env-file .env

Additional notes

Environment variables and configuration:

  • NASDAQ_DATA_LINK_API_KEY is required to access Nasdaq Data Link data via the SDK.
  • PYTHONPATH should point to the cloned repository so the server can import modules correctly.
  • The MCP server name configured during installation appears in your MCP client; use the same name when starting or querying the server.
  • If you encounter API key errors, verify your key and check that it has the necessary permissions for the datasets you query.
  • Ensure Python 3.13+ is installed; the server relies on the Nasdaq Data Link Python SDK and MCP SDK.
  • When testing, you can run basic commands through the MCP Dev interface to validate tool availability before integrating into a larger workflow.

Related MCP Servers

Sponsor this space

Reach thousands of developers