get-ruleLABSCO SUMMARY
A small, complete example of resource plus tools.
Beyond the joke, it is a tidy demonstration of the shape most content servers want: a resource holding the corpus, and tools that index into it by key, by theme and at random. If it fails to start, the usual cause is the data file not sitting beside the built server.
What it is
An MCP server that serves the Ferengi Rules of Acquisition. The full collection is exposed as a resource, with four tools for getting at it: one rule by number, a themed search, a random pick, and the list of themes.
What you get
- A specific rule by its number —
get-rule - Rules matching a theme, such as profit, business or money —
search-by-theme - A random rule from the collection —
random-rule - Every available theme, so the search has something to aim at —
list-themes - The complete collection as an MCP resource, not just tool output
Requirements
Node.js 18+, with npm install and npm run build, then the built build/index.js given to the client by absolute path. One requirement is easy to miss: ferengi_rules_mcp.json — the rules data — must sit in the same directory as the built server, or it will not start. Nothing to authorize.
Setup effort
Build from source
USE CASES
Quoting the right rule
Ask for it by number and get the text rather than a paraphrase.
Finding what the rules say about a topic
Search by theme after checking which themes exist.
Opening a meeting with one
Pull a random rule when you want the line rather than a specific one.
Studying the server itself
Read it as a worked example of a resource-backed server with an indexed tool surface.
4 tools
Listed in project docs. Your client may show a different list.
search-by-themerandom-rulelist-themesBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
Requires
Node.js 18+
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
git clone https://github.com/SterlingChin/ferengi-rules-of-acquisition-mcp
cd ferengi-rules-of-acquisition-mcp
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"ferengi-rules-of-acquisition-server": {
"command": "node",
"args": [
"<YOUR_PATH_TO_SERVER>/build/index.js"
]
}
}
}