murphys-laws MCP server
com.murphys-laws · Updated
Access thousands of Murphy's Laws: search, browse by category, random, daily, submit.
At a glance
murphys-laws is an MCP server in the Web & Search category. It runs locally over stdio via `npx -y murphys-laws-mcp`, and declares no required credentials. It scores A (80/100) on the MCP Skills Hub health score as of Oct 27, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install murphys-laws in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install murphys-laws in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add murphys-laws -- npx -y murphys-laws-mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes. It discovers them automatically.
How to install murphys-laws in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "murphys-laws": { "command": "npx", "args": [ "-y", "murphys-laws-mcp" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install murphys-laws in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "murphys-laws": { "command": "npx", "args": [ "-y", "murphys-laws-mcp" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install murphys-laws in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.murphys-laws] command = "npx" args = ["-y", "murphys-laws-mcp"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install murphys-laws in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "murphys-laws": { "command": "npx", "args": [ "-y", "murphys-laws-mcp" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install murphys-laws in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "murphys-laws": { "command": "npx", "args": [ "-y", "murphys-laws-mcp" ] } } }
How to install murphys-laws in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "murphys-laws": { "type": "stdio", "command": "npx", "args": [ "-y", "murphys-laws-mcp" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does murphys-laws expose?
This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.
What the code can do
Read from the published package source — never executed. Parsed 11 of 11 source files.
This server can read your environment variables.
How it was published
- No provenance attestation — there is nothing linking this published artifact to a specific source commit.
- 1 npm maintainer — a single point of compromise · last published by ravidor.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit 2 days ago — Actively maintained.
- 1 GitHub stars — Very little community usage so far.
- 47 weekly downloads — Very few installs — you would be an early user.
Client compatibility
Health score
A · 80Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 2 days ago.
- Adoption20%24%
1 stars, 47 weekly downloads.
- Transparency20%75%
3/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✗ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (1.2.5).
Documentation
Full READMEMurphy's Laws
A comprehensive collection of Murphy's Laws - humorous observations about life's tendency for things to go wrong.
Available on the Web, with iOS and Android releases forthcoming.
Platforms
- Web: <https://murphys-laws.com> (PWA - installable, works offline)
- iOS: Coming Soon
- Android: Coming Soon
AI & Developer Integration
Four official ways to integrate Murphy's Laws. No API key for reads.
| Package | npm | Purpose | |---------|-----|---------| | `murphys-laws-sdk` |  | Typed TypeScript client, zero deps | | `murphys-laws-cli` |  | Command-line interface (npx murphys-laws-cli) | | `murphys-laws-mcp` |  | Model Context Protocol server for AI agents | | REST API | - | Public HTTP API at https://murphys-laws.com/api/v1/ |
Full details and examples on the developer landing page.
REST API
Public API at https://murphys-laws.com/api/v1/, no auth required for reads.
- API Documentation
- OpenAPI spec
- llms.txt | llms-full.txt
TypeScript SDK
`murphys-laws-sdk` on npm is a tiny typed client over the REST API with zero runtime dependencies.
Excerpt — the full document is on GitHub.
Alternatives to murphys-laws
- braveA · 91Visit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…
- SaaS BrowserD · 23Search 400k+ SaaS and software companies by category, technology, country, pricing, and more.
- exaA · 93Connect AI agents to Exa for web search, content fetching, and multi-step research.
- searxNcrawlA · 85Web search via SearXNG and/or You.com, plus clean Markdown crawling via Crawl4AI. Self-hosted.
Maintain murphys-laws? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/com-murphys-laws-murphys-laws)Catalog data refreshed . Something wrong? Report it.