Nasdaq Data Link MCP logo

Nasdaq Data Link MCP

Community
stefanoamorelli

A Nasdaq Data Link MCP (Model Context Protocol) Server

Publisherstefanoamorelli
Repositorynasdaq-data-link-mcp
LanguagePython
Forks
14
Stars
66
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Nasdaq Data Link MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    66 stars and 14 forks from the linked repository.

📈 Nasdaq Data Link MCP 🤖

License: MIT PyPI version Python 3.13+ Build Status Platform AI Powered PyPI Downloads

A community developed and maintained Model Context Protocol (MCP) server that provides access for large language models to the Nasdaq Data Link. Built for use with MCP-compatible clients.

This project aims at making easy to access and explore Nasdaq Data Link's extensive and valuable financial and economic datasets through natural language interfaces and large language models (LLMs).

🐍 Nasdaq Data Link MCP uses the official Nasdaq/data-link-python SDK.

[!IMPORTANT] This is an open-source project not affiliated with or endorsed by Nasdaq, Inc. Nasdaq® is a registered trademark of Nasdaq, Inc.

🌐 Usage

Once installed and connected to an MCP-compatible client (e.g., Claude Desktop, or Groq Desktop (beta), this server provides 5 essential tools that work with any Nasdaq Data Link database.

Featured databases:

You: What was the GDP of Italy in 2022? Claude: searches datasets, gets WORLDBANK/GDP data

You: Show me Apple stock data for Q1 2024 Claude: gets WIKI/AAPL dataset with date filters

You: What datasets are available for CO₂ emissions? Claude: searches datasets for "CO2 emissions"

You: Export Tesla data as JSON Claude: exports dataset in JSON format


📦 Installation

1. Clone the Repository

bash
git clone https://github.com/stefanoamorelli/nasdaq-data-link-mcp.git
cd nasdaq-data-link-mcp

2. Install Requirements

You'll need Python 3.13+ and the mcp CLI.

bash
uv init mcp
uv add "mcp[cli]"

MCP SDK: https://github.com/modelcontextprotocol/python-sdk Nasdaq Data Link SDK: https://github.com/Nasdaq/data-link-python

3. Get Your API Key

Sign up on https://data.nasdaq.com/ and copy your API key.

4. Configure the Environment

bash
cp .env.example .env

Then edit .env and add your API key:

NASDAQ_DATA_LINK_API_KEY=your_api_key_here

And the PYTHONPATH:

PYTHONPATH=/path/to/your/local/cloned/repo/nasdaq-data-link-mcp

5. Install the MCP Server

bash
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

This registers the server with your MCP client (e.g., Claude Desktop).


🧪 Testing

Run the test suite:

bash
python -m pytest tests/ -v

The test suite includes:

  • Basic functionality tests
  • Module import verification
  • Parameter validation
  • Error handling
  • Integration tests

Tests are designed to work without requiring an API key for basic functionality verification.


🛠️ Tools

The server exposes 5 essential tools that work with any Nasdaq Data Link database:

search_datasets

Search for datasets by keyword.

Examples:

python
# Find GDP datasets
search_datasets(query="GDP")

# Search for oil prices
search_datasets(query="oil prices")

# Find retail trading data
search_datasets(query="retail trading")

# Search for fund data
search_datasets(query="mutual funds")

get_dataset

Get data from a specific dataset with optional date filters.

Examples:

python
# Get Apple stock data for Q1 2024
get_dataset(dataset_code="WIKI/AAPL", start_date="2024-01-01", end_date="2024-03-31")

# Get World Bank GDP data
get_dataset(dataset_code="WORLDBANK/GDP_MKTP_CD")

# Get retail trading activity
get_dataset(dataset_code="NDAQ/RTAT", start_date="2024-03-01")

# Get company fundamentals
get_dataset(dataset_code="QOR/STATS_MSFT")

# Get fund price history
get_dataset(dataset_code="NFN/MFRPH_ABCDX", start_date="2024-01-01", end_date="2024-12-31")

get_dataset_metadata

Get metadata about a dataset without downloading data.

Examples:

python
# Check GDP dataset structure
get_dataset_metadata(dataset_code="WORLDBANK/GDP_MKTP_CD")

# View available columns for Apple stock
get_dataset_metadata(dataset_code="WIKI/AAPL")

# Inspect fund data structure
get_dataset_metadata(dataset_code="NFN/MFRFM")

list_databases

List available databases on Nasdaq Data Link.

Example:

python
list_databases()

export_dataset

Export dataset in different formats (CSV, JSON, XML).

Examples:

python
# Export Apple data as JSON
export_dataset(dataset_code="WIKI/AAPL", output_format="json", start_date="2024-01-01")

# Export to CSV with date range
export_dataset(dataset_code="WORLDBANK/GDP_MKTP_CD", output_format="csv", start_date="2020-01-01", end_date="2023-12-31")

# Export as XML
export_dataset(dataset_code="NDAQ/RTAT", output_format="xml")

🧪 MCP Dev & Debugging

To test the server locally with a UI:

bash
mcp dev nasdaq_data_link_mcp_os/server.py --env-file .env

This opens the MCP Dev interface where you can call tools manually, inspect results, and troubleshoot.


📊 Architecture Diagram


📚 References


📖 Citation

[!TIP] If you use this project in your research or work, please cite it using the CITATION.cff file, or the APA format:

Amorelli, S. (2025). Nasdaq Data Link MCP (Model Context Protocol) Server [Computer software]. GitHub. https://github.com/stefanoamorelli/nasdaq-data-link-mcp


📄 License

MIT License © 2025 Stefano Amorelli

Use Nasdaq Data Link MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Nasdaq Data Link MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Nasdaq Data Link MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Nasdaq Data Link MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "nasdaq-data-link-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Nasdaq Data Link MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Nasdaq Data Link MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Nasdaq Data Link MCP to help me with this task?
Nasdaq Data Link MCP
Sure. I read it.
Here is what I found using Nasdaq Data Link MCP.

Frequently asked questions

What is the Nasdaq Data Link MCP MCP server used for?

Nasdaq Data Link MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Nasdaq Data Link MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Nasdaq Data Link MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Nasdaq Data Link MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Nasdaq Data Link MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Nasdaq Data Link MCP MCP to TypingMind?

Nasdaq Data Link MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Nasdaq Data Link MCP MCP provide in TypingMind?

Nasdaq Data Link MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Nasdaq Data Link MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Nasdaq Data Link MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇