mcpField
N
Narwhal

Narwhal

Remote
narwhalapi.comFinance0Updated 3d ago

About Narwhal

Narwhal provides a financial and economic data API with tools exposed through a hosted MCP server. Its Node.js bridge forwards requests from MCP clients that launch local commands, while clients can also connect to the remote server directly.

Key features

  1. 01Expose financial and economic data tools
  2. 02Forward requests over stdio
  3. 03Authenticate with an API key bearer token
  4. 04Connect directly to the hosted server
  5. 05Configure base URL and timeout

Use cases

  1. 01Access Narwhal data tools from an MCP client
  2. 02Connect a local-command MCP client to the hosted service
  3. 03Set an API key and request timeout

MCP support

The hosted MCP server is available through a direct remote connection or the @narwhalapi/mcp stdio bridge; the server supplies the tool list.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.narwhalapi.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

Narwhal API MCP bridge

@narwhalapi/mcp connects MCP clients that launch local commands to the hosted Narwhal API MCP server. It runs as a stdio bridge and forwards every request to https://api.narwhalapi.com/mcp, using the API key as a Bearer token. The bridge holds no tools itself; the tool list comes from the server.

Install

Requires Node.js 20 or newer.

npm install @narwhalapi/mcp

Quickstart

Add this configuration to an MCP client that supports local commands:

{
  "mcpServers": {
    "narwhal": {
      "command": "npx",
      "args": ["-y", "@narwhalapi/mcp"],
      "env": {
        "NARWHAL_API_KEY": "your-key"
      }
    }
  }
}

Replace your-key with your API key. The MCP client launches the bridge with npx and communicates with it over stdio. Requests then go to the hosted server with that key.

Configuration

NARWHAL_API_KEY is required. Without it, the bridge exits with a message. NARWHAL_BASE_URL defaults to https://api.narwhalapi.com. NARWHAL_TIMEOUT sets the request timeout in milliseconds and defaults to 10000. Logs go to stderr only, leaving stdout for MCP communication.

Remote connection

MCP clients that support remote servers can connect directly to https://api.narwhalapi.com/mcp. Configure the header Authorization: Bearer <key> with your API key. A direct connection uses the hosted server without launching a local bridge. Choose the connection method supported by your MCP client.

Links: Documentation

MIT licensed

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.