nexus-mcp
Provides tools for searching games, mods, collections, and users on Nexus Mods, as well as downloading mod files. Supports authentication via API key or browser cookies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nexus-mcp search for Skyrim mods called 'Unofficial Patch'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Resolve game titles to domain names; browse most-modded games |
| Search mods by name/game/author/tag, sorted by endorsements etc. |
| Full mod details: description, requirements, tags, stats |
| A mod's downloadable files with versions and changelogs |
| Get a pre-signed CDN download URL (needs API key or cookies) |
| Download a mod file to disk (needs API key or cookies) |
| Search curated mod lists |
| Collection metadata + full mod list (by slug, optional revision) |
| User profile + their most-endorsed mods |
| 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 buildRegister with Claude Code (local checkout):
claude mcp add nexus-mods -e NEXUS_MODS_API_KEY=<your key> -- node dist/index.jsOr 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-mcpOr 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.mjsThis 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 ./modsCookies 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 loginDomain terminology lives in CONTEXT.md.
Available Tools
10 toolsdownload_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
Scored across 10 tools
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.
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.
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.
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
Related MCP Connectors
The official MCP Server for the Mux API
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA 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-
- AlicenseNot gradedqualityCmaintenanceA 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 npm1ISC
- AlicenseNot gradedqualityDmaintenanceA Python MCP server for searching, downloading, extracting, inspecting, and previewing game assets from multiple public sources.7MIT
- FlicenseNot gradedqualityDmaintenanceA 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-