
Financial market context for AI agents, with listed companies' results: www.prereason.com/agents.md
registry version 0.9.1
npm
npx -y @prereason/mcpnpm
npx -y @prereason/mcp@0.9.1Streamable HTTP
https://api.prereason.com/api/mcp
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>"
}
}
}
}{
"mcpServers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp@0.9.1"
],
"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 ↗.
terminal
claude mcp add --env PREREASON_API_KEY=<YOUR_PREREASON_API_KEY> mcp-638 -- npx -y @prereason/mcp
claude mcp add --env PREREASON_API_KEY=<YOUR_PREREASON_API_KEY> mcp-638 -- npx -y @prereason/mcp@0.9.1
terminal
claude mcp add --transport http mcp-638 https://api.prereason.com/api/mcp --header "X-API-Key: Bearer <YOUR_X_API_KEY>"
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}{
"mcpServers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp@0.9.1"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"mcp-638": {
"url": "https://api.prereason.com/api/mcp",
"headers": {
"X-API-Key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}{
"servers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp@0.9.1"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"mcp-638": {
"type": "http",
"url": "https://api.prereason.com/api/mcp",
"headers": {
"X-API-Key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}{
"mcpServers": {
"mcp-638": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp@0.9.1"
],
"env": {
"PREREASON_API_KEY": "<YOUR_PREREASON_API_KEY>"
}
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"mcp-638": {
"serverUrl": "https://api.prereason.com/api/mcp",
"headers": {
"X-API-Key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
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.⭐ 5 stars · 最近更新于 37 天前 · MIT license
Distributed as npm, Streamable HTTP, listed under AI Agents. Review our MCP security guide before granting access to real data.
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.
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.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](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>