MCP Server Studio

PreReason MCP server

Financial market context for AI agents, with listed companies' results: www.prereason.com/agents.md

Registry name: com.prereason/mcp

Publisher
prereason.com
Runs
Local or hosted
Package
npm
Version
0.9.1
Category
AI & agents
Updated
2026-10-28

Source code on GitHub

Set up PreReason (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@prereason/[email protected]"
      ],
      "env": {
        "PREREASON_API_KEY": "<PREREASON_API_KEY>",
        "PREREASON_CLIENT": "<PREREASON_CLIENT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e PREREASON_API_KEY='<PREREASON_API_KEY>' -e PREREASON_CLIENT='<PREREASON_CLIENT>' -- npx -y @prereason/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@prereason/[email protected]"
      ],
      "env": {
        "PREREASON_API_KEY": "<PREREASON_API_KEY>",
        "PREREASON_CLIENT": "<PREREASON_CLIENT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@prereason/[email protected]"
      ],
      "env": {
        "PREREASON_API_KEY": "<PREREASON_API_KEY>",
        "PREREASON_CLIENT": "<PREREASON_CLIENT>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@prereason/[email protected]"
      ],
      "env": {
        "PREREASON_API_KEY": "<PREREASON_API_KEY>",
        "PREREASON_CLIENT": "<PREREASON_CLIENT>"
      }
    }
  }
}

Set up PreReason (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.prereason.com/api/mcp",
        "--header",
        "X-API-Key: <X-API-Key>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://api.prereason.com/api/mcp --header 'X-API-Key: <X-API-Key>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.prereason.com/api/mcp",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.prereason.com/api/mcp",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.prereason.com/api/mcp",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
PREREASON_API_KEYNoPreReason API key (starts with pr_live_). Optional: without it the bridge asks for access from inside the session and prints one link for you to approve; the key is then saved under ~/.prereason. Or…
PREREASON_CLIENTNoThe app this bridge runs in (claude-desktop, cursor, windsurf, claude-code, ...), so your PreReason dashboard names the connection.

More ai & agents MCP servers