mcpbeat

Matlab Access Datafeed

matlab/matlab-access-datafeed

> Guide for accessing financial and economic data in MATLAB using the Datafeed Toolbox. Covers Bloomberg (market data via bloomberg/blp/bloombergHypermedia), FRED (Federal Reserve economic data via fredrs), and Haver Analytics (economic data via haver/haverdirect/haverview). Use when connecting to any of these data providers from MATLAB.

6k tokens
context cost
the whole folder, loaded on every use
5
files
instructions only
0
copies elsewhere
how many repositories repackaged it
865
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-access-datafeed

The instruction itself

10 sections, as written by the author

Datafeed Toolbox — Bloomberg, FRED, and Haver Analytics

Access financial and economic data from three major providers through the MATLAB Datafeed Toolbox.

When to Use

  • User wants to connect to Bloomberg, FRED, or Haver Analytics from MATLAB
  • User needs to retrieve market data (prices, history, real-time, reference data) via Bloomberg
  • User needs to retrieve economic time series from the St. Louis Fed (FRED)
  • User needs to fetch economic/financial time series from Haver Analytics databases
  • User needs help choosing between interfaces within a provider (e.g., bloomberg vs blp vs bloombergHypermedia, haver vs haverview)
  • User is writing MATLAB code involving securities, economic indicators, or data provider connectivity

When NOT to Use

  • General financial modeling or portfolio optimization that doesn't involve data provider connectivity
  • Bloomberg Terminal keyboard shortcuts or Excel add-in questions (not MATLAB)
  • Data sources not covered here (e.g., Yahoo Finance, Reuters/Refinitiv)

Provider Overview

| Provider | Data Type | Interfaces | Reference |

|----------|-----------|------------|-----------|

| Bloomberg | Market data (equities, fixed income, derivatives, indices) | bloomberg, blp, bloombergHypermedia, bloombergEMSX | references/bloomberg.md |

| FRED | U.S. economic data (GDP, unemployment, CPI, interest rates) | fredrs (replaces obsolete fred) | references/fred.md |

| Haver Analytics | Global economic & financial data (macro, industry, surveys) | haver, haverdirect, haverview | references/haver.md |

Quick Interface Selection

Bloomberg — see references/bloomberg.md for full API patterns

  • Windows Desktop/Terminal userbloomberg (C++)
  • Need platform independence (BPIPE)bloombergBPIPE
  • Server/cloud, no Terminal (Data License)bloombergHypermedia
  • Existing blp users → migrate to bloomberg (same API, no Java needed)

FRED — see references/fred.md for full API patterns

  • Any platformfredrs (requires R2026a+, API key)
  • fred is obsolete — do NOT use it

Haver Analytics — see references/haver.md for full API patterns

  • Windows with local data fileshaver
  • Windows needing remote accesshaverdirect
  • Non-Windows / server / cloudhaverview (REST API)

How to Use References

Before generating code for a specific provider, read the corresponding reference file for detailed API patterns, function signatures, gotchas, and examples:

  • Working with Bloomberg data → read references/bloomberg.md
  • Working with FRED economic data → read references/fred.md
  • Working with Haver Analytics data → read references/haver.md

Common Rules

  • Always use getSecret() for credentials and API keys — never hardcode secrets
  • All three providers require the Datafeed Toolbox
  • fredrs additionally requires R2026a or later
  • Bloomberg and Haver local interfaces (bloomberg, blp, haver, haverdirect) are Windows-only; cloud/REST variants (bloombergHypermedia, bpipe, haverview, fredrs) are platform-independent

Copyright 2026 The MathWorks, Inc.

How to use it

Copy the folder

Take matlab/matlab-access-datafeed from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.