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. 40 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 8 · +6% w/w
a month agotoday
40
Installs / week
npm · @vukvukovich/hammerspoon-mcp
1
Stars
3 open issues
14 Aug 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 7 h ago · rules 3dff92dd89df

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": {
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.hammerspoon-mcp]
command = "npx"
args = ["-y", "@vukvukovich/hammerspoon-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: 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.). The author declared them in the registry entry; get the values from the project itself.

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

22 installs/wk local only
C
Invokera Discover
by invokera

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

3 tools answering
Krita Codex MCP
by cyyprezz

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

144 installs/wk local only
Macos MCP Server
by cyanheads

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

251 installs/wk local only
Kalshi
by yakub268

Search, analyze, and trade Kalshi prediction markets through Claude Desktop

66 installs/wk local only
Steam Local MCP
by jackson-brooks

A Windows Steam MCP server with local client controls and optional Steam Web API insights.

35 installs/wk local only
Touchdesigner MCP Server
by 8beeeaaat

MCP server for TouchDesigner - Control and operate TouchDesigner projects through AI agents

2 219 installs/wk local only
Windows Computer Use MCP
by hiphopanda

Control Windows desktop via MCP: mouse, keyboard, screenshots, clipboard, and apps.

90 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 40 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 with the file path 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 40 times in the last week. Week over week that is +6%. 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.