Cursor MCP Setup for Financial Data

Wire viaNexus into Cursor over MCP so your editor can pull real market data while you build, using an API key rather than OAuth.

Cursor connects to viaNexus through MCP, so your editor can pull live market data, fundamentals, earnings dates, transcripts and news while you write code. Install it from the Cursor directory, or add nine lines to your mcp.json. Cursor authenticates with an API key rather than OAuth.

The short version. Install from the Cursor directory, or paste nine lines into mcp.json with a viaNexus key. Your editor can then pull real market data while you build, instead of dummy JSON.

How do I add viaNexus to Cursor?

The quickest route is the viaNexus plugin in the Cursor directory. To wire it up yourself, generate a secret key (sk_…) in the viaNexus console, then add this to ~/.cursor/mcp.json for every project, or .cursor/mcp.json inside a single one:

{
  "mcpServers": {
    "vianexus": {
      "url": "https://vast.blueskyapi.com/vianexus/mcp",
      "headers": {
        "x-api-key": "${env:VIANEXUS_API_KEY}"
      }
    }
  }
}

Keep the key in an environment variable rather than pasting it into the file, so it doesn't end up committed. Set VIANEXUS_API_KEY in your shell profile and restart Cursor.

What is it useful for in an editor?

Mostly the part of building where you need real numbers rather than placeholder ones:

  • Writing a backtest and pulling actual historical prices to check the logic runs
  • Building a dashboard component and filling it with live quotes instead of dummy JSON
  • Asking what fields a dataset returns before you write the parsing code
  • Checking an earnings date or a corporate action while you write the handler for it
  • Generating fixtures from real records so your tests reflect the shape of the data

The agent fetches the data itself, so you stay in the editor rather than switching to a terminal, a docs tab and back.

Which datasets can it reach?

Everything your plan includes: real-time and historical prices, fundamentals, earnings calendar and transcripts, news, corporate actions, estimates, macro and reference data. The full list is in the dataset catalog. Entitlements are enforced server side, so the key only opens what you've licensed.

Where do I get an API key?

In the viaNexus console, under your account settings. Keys start with sk_ for secret keys. If you don't have an account yet, the trial runs 14 days with no credit card.

Why does Cursor use a key when Claude uses sign-in?

Different clients implement MCP authentication differently. Claude's connector directory handles OAuth, so you sign in and never see a key. Cursor passes headers instead, so you supply the key yourself. Same endpoint and same data either way.

What if Cursor doesn't see the tools?

  • Restart Cursor after editing mcp.json, it reads the file at startup
  • Check the JSON parses, a trailing comma will fail silently
  • If you used ${env:VIANEXUS_API_KEY}, confirm the variable is set in the environment Cursor launched from, which is not always your terminal
  • An empty result usually means the dataset isn't in your plan rather than a connection problem

Other clients

The same endpoint works in Claude, Zed and anything else that speaks MCP. See the viaNexus MCP server for the full picture, connecting Claude, or the Python Agent SDK if you'd rather build agents in code.


Related guides

Continue Learning About Us And Our Expanding Ecosystem

viaNexus is rapidly expanding its data offerings and opening the door for AI-driven applications and next-generation financial workflows.

Follow us on our newsletter as we shape the future of financial data.