PreReason

MCP server · by prereason

AI Agents npmStreamable HTTP v0.9.1

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.9.1

npm
npx -y @prereason/mcp
Streamable HTTP
https://api.prereason.com/api/mcp

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

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

Remote (hosted) endpoint

https://api.prereason.com/api/mcp

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL, and provide: X-API-Key.

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • PREREASON_API_KEY secret — PreReason 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 sign up at prereason.
  • PREREASON_CLIENT — The app this bridge runs in (claude-desktop, cursor, windsurf, claude-code, ...), so your PreReason dashboard names the connection.
  • X-API-Key secret header — PreReason API key, pasted as is with no prefix. Optional: without it the catalogue tools work.

GitHub

⭐ 5 stars · 最近更新于 37 天前 · MIT license

About this server

Distributed as npm, Streamable HTTP, listed under AI Agents. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install PreReason?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is PreReason free to use?

The MCP server itself is free to install. The source is public on https://github.com/PreReason/mcp. Any third-party service it calls may require its own API key and account.

Which clients support PreReason?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mcp-638.svg)](https://mcpnav.net/server/mcp-638/)

HTML

<a href="https://mcpnav.net/server/mcp-638/"><img src="https://mcpnav.net/badge/mcp-638.svg" alt="Listed on MCPNav" height="20"></a>