Skip to main content
Glama
nexusmods-mcp-server

nexusmods-mcp-server

by UberMorgott

nexusmods-mcp-server

MCP server for Nexus Mods: search mods and collections, read files/changelogs/requirements, download files, track and endorse mods, upload new file versions (v3 API), and — through your own browser session — mod comments, bug reports, forums, private messages, and your mods' media and page text.

Install

npm install
npx patchright install chromium   # only for the web tier (comments, bugs, forums, PMs, media)
npm run build
npm run setup                     # API key + optional web session

MCP client config:

{
  "mcpServers": {
    "nexusmods-mcp-server": { "command": "node", "args": ["/path/to/nexusmods-mcp-server/build/index.js"] }
  }
}

Related MCP server: nexus-mcp

Access levels

Level

Needs

Tools

Zero-config

nothing

GraphQL: search_mods, list_games, get_mod_details, search_collections, get_collection, get_collection_comments, get_user, get_news, graphql_query; web reads: get_mod_comments, get_mod_bugs, get_mod_bug, forum_list, forum_topic

API key

NEXUS_API_KEY in .env

v1: validate_user, get_game, get_mod, get_mod_files, get_mod_file, get_changelogs, list_mods, get_updated_mods, md5_lookup, get_download_link, download_file, get_tracked_mods, track_mod, endorse_mod, get_endorsements; v3: get_upload_targets, get_mod_file_versions, upload_file_version, add_changelog

Web session

logged-in nexusmods.com session

comments: post_mod_comment, edit_mod_comment, post_collection_comment, edit_collection_comment, delete_collection_comment; bugs: post_mod_bug, reply_mod_bug; forums/PMs: forum_reply, pm_list, pm_read, pm_send, pm_reply, pm_leave

Web session, mod author

session of the mod's author/team

edit_mod_page, get_mod_media, upload_mod_image, delete_mod_image, add_mod_video, delete_mod_video, hide_mod_comment, delete_mod_bug

Session helpers: web_status, web_login, web_login_cancel, web_set_cookies, web_logout (deletes the stored cookies, clears the session from the browser profile, stops a pending sign-in window; no silent browser-cookie extraction at startup until the next web_login / web_set_cookies). Every web write takes dry_run: true to return the exact prepared request without sending it.

Get a personal API key at https://www.nexusmods.com/users/myaccount?tab=api. Downloads: premium accounts get direct links; free accounts must pass key + expires from the site's nxm:// link (Files tab → Mod Manager Download).

Uploading a new version

  1. get_upload_targets(game, mod_id) → v3 mod uid + mod_file ids

  2. upload_file_version(mod_file_id, file_path, version, changelog?, mod_uid?)

The flow mirrors the official upload-action: multipart upload → finalise → wait until available → publish version → optional changelog. New mod pages and a mod's first file must still be created on the website.

Web tier

Operations the official API only allows with OAuth run through a dedicated headless Chromium (patchright) with its own profile in ~/.nexusmods-mcp/chrome-profile. Only requests the website itself makes are used — see docs/web-endpoints.md for the evidence and the list of not-yet-supported actions (forum search, forum topic creation, deleting your comments on other authors' mods). Forum/PM tools sign in to the forums automatically through the site's SSO. This is unofficial and may break when the site changes. NEXUS_BROWSER_VISIBLE=1 shows the browser window for debugging.

Structured output (format: "json")

For programs (e.g. IssueWatcher) these tools take format: "json" (default "text", unchanged): search_mods, get_mod_comments, get_mod_bugs, get_mod_bug, post_mod_comment, reply_mod_bug, web_status, web_login, web_login_cancel, web_logout. The result is the full, untruncated object as MCP structuredContent, and the same JSON in the text block. No outputSchema is declared (the SDK would then demand structuredContent in text mode too); the zod schemas live in src/tools/json-shapes.ts and are checked by npm test against saved site widgets in test/fixtures/.

Conventions: comment / bug / reply ids are strings; modId, threadId, authorId / memberId and counts are numbers; *At = ISO-8601 UTC or null; bodies are plain text with line breaks (BBCode rendered by the site, not raw).

Tool

Result

search_mods

{total, offset, count, mods:[{game, modId, uid, name, version, author, uploader:{name, memberId}, summary, downloads, endorsements, createdAt, updatedAt, url}]} — own mods: author/game filter, page with offset (count ≤ 50)

get_mod_comments

{game, modId, threadId, page, pages, perPage:10, total, url, comments:[{id, parentId:null, author, authorId, isModAuthor, createdAt, updatedAt:null, body, sticky, locked, replies:[{id, parentId, author, authorId, isModAuthor, createdAt, updatedAt:null, body}]}]} — 10 root threads per page, sticky first, then newest; total counts replies too

get_mod_bugs

{game, modId, filter, page, pages, perPage:10, canReport, url, bugs:[{id, title, status, statusKey, open, replies, version, priority, lastPostAt}]} — statusKey ∈ new, known, looking, fixed, duplicate, not_a_bug, wont_fix, need_info (null if unknown label); open = not fixed/duplicate/not_a_bug/wont_fix

get_mod_bug

{issueId, canReply, report:{id, parentId:null, author, authorId, createdAt:null, createdAtLocal, body}, replies:[{… parentId: issueId}]} — the widget shows only a site-local time without offset ("YYYY-MM-DDTHH:MM", the logged-in profile's zone), so createdAt is null; use lastPostAt from get_mod_bugs for UTC

post_mod_comment

{posted:true, dryRun:false, id, parentId, verified, httpStatus} — the site answers 1 without an id: id is found by reading the thread back (same body, not seen before); verified:false, id:null if not found

reply_mod_bug

same shape; always read back (the endpoint may answer HTTP 500 yet save); dry_run:true → {posted:false, dryRun:true, id:null, request}

web_status

{loggedIn, loginInProgress, cookiesStored, detail, account:{memberId, name} | null, accountError?, sessionSource, sessionBrowser, loginVia, loginBrowser} — loginVia/loginBrowser as in web_login; sessionSource = where the stored cookies came from: "browser" (extracted from an installed browser, incl. the startup background extraction; sessionBrowser = its name), "window" (captured from the visible sign-in window), "manual" (web_set_cookies), null (no cookies, or unknown — e.g. a cookies file from before this field); kept in session.json beside the cookies file; account is the logged-in Nexus account (member id from the api-router preferences global id, name from user(id)), cached until the cookies change; lookup failure → account:null + accountError, loggedIn unchanged

web_login

{loggedIn, loginWindowOpened, detail, loginInProgress, loginVia, loginBrowser, sessionSource, sessionBrowser} — order: (1) silent cookie extraction from installed browsers (loginVia:"browser-extract"); (2) else the default browser (Windows https UserChoice ProgId → chrome/edge/firefox/brave/opera/opera-gx/vivaldi/yandex/centbrowser) if its cookie store is readable (a store whose cookie values all fail to decrypt counts as unreadable): the sign-in page opens there and its cookies are polled every 4 s (loginVia:"default-browser", loginBrowser = its name; success → sessionSource:"browser", sessionBrowser = it); (3) else the server's own sign-in window (loginVia:"window", loginWindowOpened:true). Polls last up to 10 min (loginInProgress:true); poll web_status until loggedIn. loginVia is null before any login and after cancel/logout. Every step is logged to stderr as [login] …

web_login_cancel

{cancelled} — true if a sign-in poll was running; closes the own sign-in window (a page in the user's browser stays)

web_logout

{loggedOut:true, cookiesStored:false} — idempotent

Errors (isError: true): structuredContent = {error:{code, message}}, code ∈ not_logged_in (no session / no form token), cloudflare, not_found (unknown game, deleted bug), disabled (comments or bug reports off for the mod), rate_limited, invalid, outcome_unknown (a write request was sent but failed without a 4xx refusal — timeout, 5xx, odd answer — and the read-back did not find it: it may have been saved, read back before retrying), error. search_mods also filters by uploader (exact account name) or uploader_id, which identify an account; author is free text. Writes are never retried; GET / GraphQL reads back off once on 429/503 (Retry-After ≤ 30 s, else 2 s).

Rules

Requests send Application-Name / Application-Version as required by the API acceptable use policy. Don't use this server for bulk scraping.

License

CC BY-NC 4.0 — Copyright (c) 2026 Morgott. See LICENSE.

Available Tools

57 tools
add_changelogAdd Changelog Entry (v3)B

Add changelog text for a version of a mod. mod_uid from get_upload_targets.

Inputs: mod_uid (required), version (required), changelog (required).

add_mod_videoAdd Mod Video (author)A

Add a YouTube video to YOUR mod's Videos tab, as the mod editor does. Needs the author's web session.

Inputs: game (required), title (required), mod_id (required), youtube_url (required), +2 more.

delete_collection_commentDelete Collection CommentA
DestructiveIdempotent

Delete (discard) your collection comment (DiscardComment mutation via web session). Cannot be undone.

Inputs: comment_id (required).

delete_mod_bugDelete Mod Bug Report (author)A
DestructiveIdempotent

Delete a bug report and all its replies from YOUR mod (mod author/moderator only). Cannot be undone.

Inputs: issue_id (required), dry_run.

delete_mod_imageDelete Mod Image (author)A
DestructiveIdempotent

Delete an image from YOUR mod's gallery (image_id from get_mod_media). Cannot be undone.

Inputs: game (required), mod_id (required), image_id (required), dry_run.

delete_mod_videoDelete Mod Video (author)A
DestructiveIdempotent

Delete a video from YOUR mod (video_id from add_mod_video / get_mod_media). Cannot be undone.

Inputs: game (required), mod_id (required), video_id (required), dry_run, +1 more.

download_fileDownload Mod File (v1)A
Idempotent

Download a mod file to a local directory (dest_dir, else NEXUS_DOWNLOAD_DIR). Premium: direct. Non-premium: pass key + expires from an nxm:// link.

Inputs: game (required), mod_id (required), file_id (required), key, +2 more.

edit_collection_commentEdit Collection CommentA
Idempotent

Edit your collection comment (UpdateComment mutation via web session).

Inputs: body (required), comment_id (required).

edit_mod_commentEdit Mod CommentA
Idempotent

Edit your own comment on a mod's Posts tab (comment_id from get_mod_comments). Needs a logged-in web session.

Inputs: game (required), text (required), mod_id (required), comment_id (required).

edit_mod_pageEdit Mod Page (author)A
Idempotent

Edit YOUR mod page's name, summary, full description (BBCode) and/or version, as the mod editor's Save does. Unchanged fields (category, author, tags, translation) are resent exactly as loaded. Omit all edit fields to just view the current values. Use dry_run to preview the request.

Inputs: game (required), mod_id (required), name, dry_run, +3 more.

endorse_modEndorse / Abstain Mod (v1)A
Idempotent

Endorse a mod or abstain from endorsing. The current mod version is looked up automatically if not given.

Inputs: game (required), mod_id (required), action, version.

forum_listBrowse ForumsA
Read-onlyIdempotent

List sub-forums and topics of a forum (forum_id or URL), or the forum index when omitted. Topics: id, title, author, date, replies, views. Works without login.

Inputs: page, forum.

forum_replyReply to Forum TopicA

Post a reply in a forum topic (id or URL). Needs a logged-in web session (forum sign-in is done automatically via SSO).

Inputs: text (required), topic (required), html, dry_run.

forum_topicRead Forum TopicA
Read-onlyIdempotent

Read posts of a forum topic (topic id or URL), 25 per page. Works without login.

Inputs: topic (required), page.

get_changelogsGet Mod Changelogs (v1)A
Read-onlyIdempotent

All version changelogs of a mod (version → entries). Newest versions last.

Inputs: game (required), mod_id (required), last.

get_collectionGet Collection (GraphQL)A
Read-onlyIdempotent

Collection details by slug: author, stats, comment thread id, latest revision and (optionally) its mod list.

Inputs: slug (required), game, list_mods.

get_collection_commentsGet Collection Comments (GraphQL)A
Read-onlyIdempotent

Read a collection's comments (newest first) with first replies. Pass comment_thread_id (from get_collection) or slug. Paginate with after = endCursor. Write via post_collection_comment (web tier).

Inputs: game, slug, after, first, +1 more.

get_endorsementsList My Endorsements (v1)B
Read-onlyIdempotent

Mods you endorsed or abstained from.

Inputs: game.

get_gameGet Game (v1)A
Read-onlyIdempotent

Game details by domain name: id, name, mod/file/download counts, categories (id → name). Use list_games to discover domain names.

Inputs: game (required), show_categories.

get_modGet Mod (v1)B
Read-onlyIdempotent

Full mod info: name, version, author, status, downloads, endorsements, dates, summary, your endorsement status.

Inputs: game (required), mod_id (required).

get_mod_bugRead Mod Bug ReportA
Read-onlyIdempotent

Read one bug report and its replies (issue_id from get_mod_bugs).

Inputs: issue_id (required).

get_mod_bugsGet Mod Bug ReportsA
Read-onlyIdempotent

List a mod's bug reports (Bugs tab): id, title, status, replies, version, priority, last post. 10 per page. Works without login (private reports need the author's session).

Inputs: game (required), mod_id (required), page, status.

get_mod_commentsGet Mod Comments (Posts tab)A
Read-onlyIdempotent

Read a mod page's Posts tab: threaded comments (id, author, date, text, inline replies), sticky first. 10 threads per page. Works without login.

Inputs: game (required), mod_id (required), page.

get_mod_detailsGet Mod Details + Description + Requirements (GraphQL)A
Read-onlyIdempotent

Mod info without an API key, including the full description (BBCode as stored), tags, uid (for v3), requirements and mods requiring it.

Inputs: game (required), mod_id (required), include_description.

get_mod_fileGet Mod File (v1)C
Read-onlyIdempotent

Details for one mod file.

Inputs: game (required), mod_id (required), file_id (required).

get_mod_filesList Mod Files (v1)A
Read-onlyIdempotent

List a mod's files (file_id, name, version, category, size, upload date). Optional category filter.

Inputs: game (required), mod_id (required), category.

get_mod_file_versionsList Mod File Versions (v3)A
Read-onlyIdempotent

Versions of one v3 mod file (id, version, category, upload date, primary).

Inputs: mod_file_id (required).

get_mod_mediaGet Mod Media (author)A
Read-onlyIdempotent

List a mod's author images (id, url, title, primary/thumbnail) and videos as the mod editor shows them. Author/editor session required.

Inputs: game (required), mod_id (required).

get_newsGet News (GraphQL)B
Read-onlyIdempotent

Latest Nexus Mods news, optionally per game/category.

Inputs: game, count, category.

get_tracked_modsList Tracked Mods (v1)A
Read-onlyIdempotent

Mods you track (game domain + mod id). Optional game filter.

Inputs: game.

get_updated_modsMods Updated In Period (v1)A
Read-onlyIdempotent

IDs of mods updated in the last day/week/month (with timestamps). Use to check tracked mods for updates.

Inputs: game (required), limit, period.

get_upload_targetsGet Mod Upload Targets (v3)A
Read-onlyIdempotent

Resolve a mod (game + mod_id from the site URL) to its v3 mod uid and list its mod files (v3 mod_file ids) — the ids upload_file_version and add_changelog need.

Inputs: game (required), mod_id (required).

get_userGet User (GraphQL)A
Read-onlyIdempotent

Public profile by username: member id, join date, kudos, mod/collection counts, about.

Inputs: name (required).

graphql_queryRaw GraphQL Query (read-only)A
Read-onlyIdempotent

Run any read-only query against https://api.nexusmods.com/v2/graphql (schema: https://graphql.nexusmods.com/). Mutations are rejected. Output is raw JSON — prefer the typed tools.

Inputs: query (required), variables.

hide_mod_commentHide Mod CommentA
DestructiveIdempotent

Hide a comment on a mod's Posts tab — the site's 'Hide and optionally report post' action (removes it from view for everyone except staff). Available to the mod's author for any comment on their mod. Needs a logged-in web session.

Inputs: game (required), mod_id (required), comment_id (required), reason, +2 more.

list_gamesList / Find Games (GraphQL)A
Read-onlyIdempotent

Find games and their domain names (needed by all game-scoped tools). No API key needed.

Inputs: count, query.

list_modsList Latest / Updated / Trending Mods (v1)A
Read-onlyIdempotent

10 mods per list: latest_added, latest_updated or trending for a game.

Inputs: game (required), list (required).

md5_lookupFind File by MD5 (v1)A
Read-onlyIdempotent

Identify a mod file from its MD5 hash (returns mod + file). For a batch of hashes use graphql_query with fileHashes.

Inputs: md5 (required), game (required).

pm_leaveLeave (Delete) Private ConversationA
DestructiveIdempotent

Leave a private conversation — removes it from your inbox (the conversation is deleted once no participants remain). Uses the conversation page's 'leave' link.

Inputs: conversation_id (required), dry_run.

pm_listList Private MessagesA
Read-onlyIdempotent

List your private-message conversations (forum messenger): id, title, participants, last message snippet, unread flag. Needs a logged-in web session.

Inputs: page.

pm_readRead Private ConversationA
Read-onlyIdempotent

Read the messages of a private conversation (id from pm_list), 25 per page. Needs a logged-in web session.

Inputs: conversation_id (required), page.

pm_replyReply to Private ConversationA

Reply in an existing private conversation (id from pm_list). Needs a logged-in web session.

Inputs: text (required), conversation_id (required), html, dry_run.

pm_sendSend Private MessageA

Start a new private conversation with one or more members (forum messenger compose). Needs a logged-in web session.

Inputs: to (required), text (required), title (required), html, +1 more.

post_collection_commentPost Collection Comment / ReplyA

Comment on a collection (comment_thread_id from get_collection), or reply (reply_to_id). Uses the site's CreateComment mutation with the web session.

Inputs: body (required), comment_thread_id (required), reply_to_id.

post_mod_bugPost Mod Bug ReportA

File a new bug report on a mod (Bugs tab → Report a bug). BBCode allowed. Needs a logged-in web session.

Inputs: game (required), text (required), title (required), mod_id (required), +2 more.

post_mod_commentPost Mod Comment / ReplyA

Post a comment on a mod's Posts tab, or reply to a comment (parent_id from get_mod_comments). Needs a logged-in web session. BBCode allowed.

Inputs: game (required), text (required), mod_id (required), parent_id.

reply_mod_bugReply to Mod Bug ReportA

Reply to a bug report (issue_id from get_mod_bugs). BBCode allowed. Needs a logged-in web session.

Inputs: text (required), issue_id (required), dry_run.

search_collectionsSearch Collections (GraphQL)A
Read-onlyIdempotent

Search collections by name / game. Returns slugs for get_collection and get_collection_comments.

Inputs: game, sort, count, query, +1 more.

search_modsSearch Mods (GraphQL)A
Read-onlyIdempotent

Search mods by name (wildcard), optionally within one game, sorted. No API key needed. Returns game/modId pairs usable by every other tool.

Inputs: game, sort, count, query, +4 more.

track_modTrack / Untrack Mod (v1)B
Idempotent

Start or stop tracking a mod.

Inputs: game (required), mod_id (required), action.

upload_file_versionUpload New File Version (v3)A

Upload a local archive as a NEW VERSION of an existing mod file and publish it immediately (multipart upload → finalise → wait → publish). Get mod_file_id from get_upload_targets. If publishing fails after the upload, retry with upload_id to skip re-uploading. Optionally adds a changelog (needs mod_uid).

Inputs: version (required), mod_file_id (required), name, mod_uid, +11 more.

upload_mod_imageUpload Mod Image (author)A

Upload an image (JPG/PNG/GIF, max 8 MB) to YOUR mod's gallery, as the mod editor does: image safety hash check, upload, media cache refresh. Needs the author's web session.

Inputs: game (required), mod_id (required), file_path (required), dry_run, +1 more.

validate_userValidate API Key / Current UserA
Read-onlyIdempotent

Validate NEXUS_API_KEY and show the account (name, premium/supporter) plus remaining API rate limit.

Inputs: no named parameters.

web_loginWeb LoginA
Idempotent

Get a nexusmods.com session: extracts cookies from installed browsers, else opens a visible sign-in window (session captured automatically, persists across runs). Re-run your action after signing in.

Inputs: no named parameters.

web_set_cookiesSet Session CookiesA
Idempotent

Manually set nexusmods.com cookies: a Cookie header string "name1=value1; name2=value2" from a logged-in browser.

Inputs: cookies (required).

web_statusWeb Session StatusA
Read-onlyIdempotent

Check whether the browser session is logged in to nexusmods.com (needed only for web-tier WRITE tools).

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 57 tools

    Disambiguation3/5

    Most tools are clearly grouped by resource and action, but get_mod and get_mod_details both read as generic mod-info lookups, and get_mod_files/get_mod_file/get_mod_file_versions/get_upload_targets are easy to confuse despite different id systems. graphql_query also overlaps with every typed read tool, though the description advises preferring typed tools.

    Naming Consistency4/5

    The majority of tools follow a clear snake_case verb_noun pattern like get_mod, list_games, delete_collection_comment, and track_mod. There are minor deviations such as md5_lookup, forum_list, forum_topic, web_status, and pm_list/pm_read, plus get_mod_bug vs get_mod_bugs plural inconsistency, but the conventions are still mostly predictable.

    Tool Count1/5

    With 57 tools, this server far exceeds the 25+ threshold and presents a heavy selection burden, even though the tools cover many Nexus Mods subdomains. The surface could be better scoped by consolidating related web-session, PM, and media tools into smaller grouped tools.

    Completeness4/5

    The server covers a remarkably broad domain: mod browsing, search, files, downloads, tracking, endorsements, comments, bugs, collections, forums, PMs, media, uploads, and changelogs. Minor gaps exist such as collection creation/editing and bug-status updates, but agents can generally accomplish end-to-end workflows without dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to search, browse, and manage mods across Nexus Mods, mod.io, Thunderstore, and Modrinth, as well as perform local diagnostics like detecting games and parsing crash logs.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A local MCP server for Nexus Mods mod discovery, research, and downloading, backed by the v2 GraphQL API and the website's DownloadPopUp widget.
      10
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search, read, and publish Minecraft mods on Modrinth, including creating projects and uploading jar files as new versions.
      7
      68 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables any MCP client to search, browse, download, and manage Nexus Mods content—games, mods, files, comments, collections, and user preferences—through a unified REST and GraphQL interface with caching and OAuth2 support.
      135
      29 PyPI
      3
      MIT