What you’ll need
- Your Statista API key
- Cursor installed on Mac or Windows
- Node.js 20 or later (needed for the
mcp-remoteintegration)
Install Cursor
To connect the Statista MCP Server with Cursor, follow these steps:- Install Cursor for Mac or Windows
- If you don’t already have one, create an account
- Open Cursor
Connect via mcp.json
Add the server by editing an MCP configuration file:- Project scope:
.cursor/mcp.jsonin your project root - Global scope (Mac):
~/.cursor/mcp.json - Global scope (Windows):
%USERPROFILE%\.cursor\mcp.json
Replace
YOUR_API_KEY with your provided Statista API key. On Windows, use the full path to npx.cmd as shown — plain npx often fails in desktop apps that do not inherit your system PATH.Verify the connection
- Open a Cursor chat or Agent session
- Confirm statista appears under available MCP tools
- Ask a market research question — the model should be able to use Statista tools such as
search-statisticsandget-chart-data-by-id
Troubleshooting
- 401 authentication error: confirm the
x-api-keyheader is set correctly - Connection fails: confirm Node.js 20+ is installed and try
npx mcp-remote@latest - Windows: command not found: use
C:\\PROGRA~1\\nodejs\\npx.cmdinstead ofnpxin the JSON config - Server not loading: open Output (
Cmd+Shift+Uon Mac /Ctrl+Shift+Uon Windows) → select MCP Logs from the dropdown