Skip to main content
Glama
mctar

NBIM MCP Server

by mctar

NBIM MCP Server

MCP server for querying data from Norway's Government Pension Fund Global — the world's largest sovereign wealth fund.

What it does

Provides 6 tools for querying fund data through the Model Context Protocol:

Tool

Description

nbim_fund_value

Current fund value and asset allocation breakdown

nbim_holdings_search

Search equity holdings by company, country, or sector

nbim_top_holdings

Top N holdings by market value with filters

nbim_country_allocation

Geographic allocation across 70+ countries

nbim_returns

Annual and cumulative returns since 1998

nbim_exclusions

Companies excluded or under observation

Related MCP server: brreg-mcp-server

Install

pip install mcp-nbim

Or with uvx:

uvx mcp-nbim

Quick start

# Run with streamable HTTP (port 8008)
mcp-nbim

# Run with stdio (for Claude Desktop, Claude Code)
mcp-nbim --stdio

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "nbim": {
      "command": "uvx",
      "args": ["mcp-nbim", "--stdio"]
    }
  }
}

Or if installed with pip:

{
  "mcpServers": {
    "nbim": {
      "command": "mcp-nbim",
      "args": ["--stdio"]
    }
  }
}

Claude Code

claude mcp add nbim -- uvx mcp-nbim --stdio

Docker

docker compose up

Example queries

  • "What is the fund worth today?" → nbim_fund_value()

  • "Top 10 holdings in Japan" → nbim_top_holdings(n=10, country='JP')

  • "Does the fund own Tesla?" → nbim_holdings_search(query='Tesla')

  • "How has the US allocation changed?" → compare nbim_country_allocation() across years

  • "Which companies are excluded for coal?" → nbim_exclusions(criterion='coal')

  • "Fund performance in 2008" → nbim_returns(start_year=2008, end_year=2008)

Data sources

Holdings data updates semi-annually and covers equities (~9,000 companies). Historical data goes back to 1998. No authentication required.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server to find and fetch Norwegian open government data from data.norge.no. Enables search, metadata retrieval, and data download.
    5
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for querying the Norwegian Brønnøysundregistrene business register, including companies, roles, subunits, and annual accounts, with built-in guards against common data traps like retired NACE codes and withheld employee counts.
    6 npm
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Unofficial MCP server for querying and managing financial data from Despezzas.
    35
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for accessing Norges Bank exchange rates and interest rates via SDMX data flows.
    6 npm
    MIT