npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fivem-mcp

v0.2.0

Published

MCP server serving FiveM, ox (Overextended), ESX and QBCore documentation, security rules, and live server-stack detection to any MCP-capable AI editor.

Downloads

217

Readme

fivem-mcp

An MCP server that gives any AI editor accurate FiveM knowledge — instead of a plausible guess at an API that doesn't exist.

Serves documentation for the FiveM Lua runtime, fxmanifest.lua, GTA V natives, the ox (Overextended) stack — ox_lib, ox_core, ox_target, ox_inventory — plus ESX Legacy, QBCore and Qbox, all verified against real resource sources. It also analyses your Lua for exploitable defects and detects which framework a server actually runs.

Works in Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Zed, or anything else that speaks MCP.

Install

npx -y fivem-mcp

Claude Code

claude mcp add fivem -- npx -y fivem-mcp@latest

Or install the full plugin, which bundles this server plus skills and slash commands:

/plugin marketplace add hamchowderr/fivem-kit
/plugin install fivem

Cursor / Windsurf / Claude Desktop / VS Code

Add to the MCP config (.cursor/mcp.json, claude_desktop_config.json, mcp.json — the shape is the same):

{
  "mcpServers": {
    "fivem-kit": {
      "command": "npx",
      "args": ["-y", "fivem-mcp@latest"]
    }
  }
}

Tools

| Tool | What it does | |---|---| | fivemDocs | List or read documentation pages. Call with no arguments for the index. | | fivemSearch | Keyword search across every page, with matching excerpts. | | fivemNatives | Search all ~7,300 GTA V + CFX natives by name, hash or task description. | | fivemAudit | Static analysis of Lua for exploitable defects, plus review prompts for what a regex cannot decide. | | fivemDetectStack | Inspect a server folder: framework, libraries, resources, load order, cfg problems. |

fivemAudit

Deterministic checks — SQL injection, load/loadstring, unguarded commands, source used after a yield, committed secrets, sensitive broadcasts, while true with no Wait, legacy MySQL APIs. It knows whether a file is client- or server-side and suppresses rules that don't apply.

Rules that need semantic judgement (is this parameter validated? is there a distance check?) are not guessed at — they come back as targeted review prompts naming the entry points found. A report padded with false positives buries the real finding.

fivemNatives

The complete database: ~6,416 GTA V natives across 44 namespaces plus ~943 CFX/FiveM natives, with parameter names, types, return types and official descriptions.

Resolves a native by Lua name, snake name, or hash, and searches by task description ("give weapon to ped"). It distinguishes client natives from their server RPC equivalents — these share a name but have different hashes — and points at the ox_lib wrapper where one exists.

Fetched from runtime.fivem.net on first use and cached for 30 days under $LOCALAPPDATA/fivem-kit or $XDG_CACHE_HOME/fivem-kit; override with FIVEM_CACHE_DIR. Not bundled: the CitizenFX natives repositories publish no license, and the database tracks game builds so a bundled copy would go stale.

fivemDetectStack

Reports the framework (ox_core / es_extended / qb-core / qbx_core), the libraries, every installed resource with its declared dependencies, the server.cfg load order, resources started but missing from disk, and cfg lines containing ; — which FiveM splits on and runs as separate commands rather than treating as a comment.

Development

npm install
npm start                  # run over stdio
npm run inspect            # MCP Inspector
npm run build:corpus       # bundle docs into corpus/ (runs automatically on publish)

The corpus is the plugin's own markdown. From a repo checkout it is read directly from ../skills and ../docs; on publish, build-corpus.mjs copies it into corpus/ so the npm package is self-contained.

License

MIT © Otaku Solutions. Built by the team behind myRP.build.

Not affiliated with or endorsed by Cfx.re or the Overextended team.