Skip to main content
Glama
nexus-mcp
by mbj733

nexus-mcp

A local MCP server for Nexus Mods mod discovery, research, and downloading, backed by the v2 GraphQL API (api.nexusmods.com/v2/graphql) and the website's DownloadPopUp widget.

Tools

Tool

Purpose

search_games

Resolve game titles to domain names; browse most-modded games

search_mods

Search mods by name/game/author/tag, sorted by endorsements etc.

get_mod

Full mod details: description, requirements, tags, stats

get_mod_files

A mod's downloadable files with versions and changelogs

get_download_url

Get a pre-signed CDN download URL (needs API key or cookies)

download_mod

Download a mod file to disk (needs API key or cookies)

search_collections

Search curated mod lists

get_collection

Collection metadata + full mod list (by slug, optional revision)

get_user

User profile + their most-endorsed mods

run_graphql

Escape hatch: any read-only GraphQL query (mutations rejected)

Adult content is always included — there is no filtering toggle.

Related MCP server: nexus-mcp

Setup

npm install
npm run build

Register with Claude Code (local checkout):

claude mcp add nexus-mods -e NEXUS_MODS_API_KEY=<your key> -- node dist/index.js

Or run directly via npx (no checkout needed — the repo is public):

claude mcp add nexus-mods -e NEXUS_MODS_API_KEY=<your key> -- npx github:mbj733/nexus-mcp

Or in Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "nexus-mods": {
      "command": "node",
      "args": ["dist/index.js"],
      "env": { "NEXUS_MODS_API_KEY": "<your key>" }
    }
  }
}

Authentication

Three options:

Option A: Personal API Key

NEXUS_MODS_API_KEY — from nexusmods.com/users/myaccount?tab=api. Enables v1 REST download API + viewer-relative GraphQL fields.

Option B: Browser Cookies (no API key needed)

Run the helper script once to log in:

node scripts/login.mjs

This launches Chrome, you log in, cookies are saved to ~/.nexus-mcp-cookies.json. The MCP server reads this file automatically.

Option C: Standalone CLI (no Claude Code needed)

The nexus-cli.mjs tool works completely independently:

node scripts/nexus-cli.mjs login                           # one-time login
node scripts/nexus-cli.mjs search skyrim "unofficial patch" # search mods
node scripts/nexus-cli.mjs download skyrim 266              # download mod
node scripts/nexus-cli.mjs download baldursgate3 1234 --dir ./mods

Cookies stored at ~/.nexus-mcp-cookies.json, auto-refreshed when expired.

Development

npm run dev               # run from source via tsx
node scripts/smoke.mjs    # end-to-end smoke test (needs build)
node scripts/login.mjs    # extract Nexus Mods cookies from Chrome
node scripts/nexus-cli.mjs login  # standalone login

Domain terminology lives in CONTEXT.md.

Available Tools

10 tools
download_modDownload a mod fileA

Download a mod file from Nexus Mods to your local disk. Requires NEXUS_MODS_API_KEY. By default downloads the primary file of the mod. Saves to the directory specified by DOWNLOAD_DIR env var, or the current working directory. Reports progress. Note: free Nexus Mods accounts have download speed caps (~2 MB/s); Premium recommended for bulk downloads.

Inputs: modId (required), gameDomain (required), fileId, destDir.

get_collectionGet collection detailsA

Get a collection's metadata and full mod list by slug (from search_collections or a nexusmods.com/collections URL). Optionally a specific revision number.

Inputs: slug (required), revision, modListOffset, includeModList.

get_download_urlGet mod download URLA

Get a pre-signed CDN download URL for a mod file. Requires NEXUS_MODS_API_KEY (personal API key from nexusmods.com/users/myaccount?tab=api). The URL is temporary and expires. To actually download the file, use download_mod instead. Note: free Nexus Mods accounts are rate-limited; Premium recommended for bulk downloads.

Inputs: modId (required), gameDomain (required), fileId.

get_modGet mod detailsA

Get full details for one mod: description, requirements, tags, stats. Identify the mod by game domain + mod ID (both appear in nexusmods.com URLs and search_mods results).

Inputs: modId (required), gameDomain (required), maxDescriptionChars.

get_mod_filesList mod filesA

List the downloadable files of a mod (main/optional/old versions) with sizes, dates, descriptions, and changelogs.

Inputs: modId (required), gameDomain (required), includeOldVersions.

get_userGet user profileA

Look up a Nexus Mods user by exact username; returns their profile and most-endorsed mods.

Inputs: name (required), modCount.

run_graphqlRun GraphQL queryA

Escape hatch: run an arbitrary read-only GraphQL query against the Nexus Mods v2 API (api.nexusmods.com/v2/graphql). Mutations are rejected. Use introspection (__schema/__type) to discover fields not covered by the other tools. Keep selections small — responses are returned verbatim. Filter semantics: multiple values for one filter field AND together; for OR, nest sub-filters under { op: OR, filter: [...] } with each branch carrying all required fields (e.g. gameId alongside modId).

Inputs: query (required), variables.

search_collectionsSearch collectionsA

Search Nexus Mods collections (curated mod lists) by text and game. Use get_collection with a result's slug to see its mod list.

Inputs: count, query, offset, sortBy, +1 more.

search_gamesSearch gamesA

Find games on Nexus Mods by name; returns their domain names (needed by the other tools), mod counts, and collection counts. Without a query, returns the most-modded games.

Inputs: count, query.

search_modsSearch modsA

Search Nexus Mods for mods by name, game, author, or tag — or batch-fetch specific mods via modIds. Returns summaries with stats; use get_mod for full details. Adult content is always included.

Inputs: tag, count, query, author, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a clearly distinct action or resource: search vs. get for games, mods, collections, and users, plus separate file listing and download operations. The potentially confusing pair get_download_url/download_mod is explicitly clarified, and run_graphql is framed as an escape hatch rather than a replacement.

    Naming Consistency5/5

    All tool names use consistent snake_case with a verb-first convention: get_*, search_*, download_mod, and run_graphql. Pluralization is used predictably for search tools (search_games, search_mods, search_collections) and singular for get tools.

    Tool Count5/5

    Ten tools is well-scoped for a Nexus Mods browsing and downloading server. Each tool corresponds to a meaningful operation without obvious redundancy or bloat.

    Completeness4/5

    The core lifecycle is covered: search games/mods/collections, fetch details, list files, obtain download URLs, download files, and query users. Some secondary reads such as game details, full user mod lists, or comments are not dedicated tools, but run_graphql provides a workaround for uncovered fields.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A local CLI & API for MCP management that allows users to download, install, manage, and interact with MCPs from GitHub, featuring process state management, port allocation, and HTTP API routes.
      173
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server for Nexus Mods mod discovery and research, backed by the v2 GraphQL API, enabling search of games, mods, collections, and users.
      61 npm
      1
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      A lightweight local MCP server built with FastMCP for exposing custom tools to MCP-compatible clients. Enables local development and testing of MCP tools and resources.
      1
      -