mcpbeat Sign in

Hammerspoon MCP Server

by vukvukovich Your server? Claim it
local only

Hammerspoon MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 83 installs a week from npm. Last commit 14 Aug 2026.

Control macOS through Hammerspoon: windows, apps, and API search. Injection-safe by design.

Installs per day peak 20 · avg 7 · +38% w/w
a month agotoday
83
Installs / week
npm · @vukvukovich/hammerspoon-mcp
1
Stars
3 open issues
14 Aug 2026
Last commit
6 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 4 min ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command src/bridge/bridge.ts:208
    const child = spawn(file, [...args], { stdio: ['ignore', 'pipe', 'pipe'] });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add hammerspoon-mcp -- npx -y @vukvukovich/hammerspoon-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.hammerspoon-mcp]
command = "npx"
args = ["-y", "@vukvukovich/hammerspoon-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "hammerspoon-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: HS_MCP_TOOLS (Which tools to expose. "safe" (default) exposes inspection, window management, and system tools only. "all" additionally exposes hs_eval, hs_applescript, and hs_ui_press, which run arbitrary Lua and AppleScript and press UI elements - anything the user can do), HS_MCP_TRANSPORT (How Lua reaches Hammerspoon. "socket" (default) keeps one persistent Unix domain socket, self-installed on first call, with automatic fallback to spawning; "spawn" runs one hs process per call), HS_MCP_HS_PATH (Explicit path to the Hammerspoon hs command line tool. Only needed when Hammerspoon is installed somewhere unusual), HS_MCP_DOCS_PATH (Explicit path to Hammerspoon's bundled docs.json, used by hs_api_search), HS_MCP_LOG_LEVEL (Log verbosity on stderr: debug, info (default), warn, or error).

Alternatives to Hammerspoon MCP

same job, measured the same way
Hammerspoon
by mobabur94

macOS automation via Hammerspoon — 75 tools for windows, Spaces, audio, Bluetooth, and more

35 installs/wk local only
DesktopManager Windows Verification
by evotecit

Inspect and verify Windows x64 desktop apps through a local, read-only-by-default MCP server.

local only
Computer Use Turbo
by afaaq-io

Let any AI agent operate desktop apps on macOS, Windows and Linux, in the background and safely.

62 installs/wk local only
I
Invokera Discover
by invokera

Search, inspect and invoke every public tool on Invokera through one MCP connection.

3 tools answering
Macos MCP Server
by cyanheads

Control macOS settings, apps, windows, audio, Music, displays, screenshots, and Focus mode via MCP.

202 installs/wk local only
Krita Codex MCP
by cyyprezz

Control Krita through a secure local MCP server and authenticated Windows bridge.

442 installs/wk local only
A1 Gallery
by a1

Search hand-curated website designs by style, font, colour, section and technology.

answering
pline.ai
by grepsr

Scrape, crawl, batch-scrape, map, and search the web through the hosted pline.ai API.

477 installs/wk local only

Hammerspoon MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Hammerspoon MCP?
Hammerspoon MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @vukvukovich/hammerspoon-mcp was installed 83 times last week.
How do I connect Hammerspoon MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @vukvukovich/hammerspoon-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Hammerspoon MCP?
The npm package @vukvukovich/hammerspoon-mcp was installed 83 times in the last week. Week over week that is +38%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Hammerspoon MCP open source?
Yes — it is published under the MIT licence, written in TypeScript, 1 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.