Hammerspoon vs Applescript MCP
A side-by-side look at the Hammerspoon and Applescript MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Hammerspoon for os automation work as a local process; choose Applescript MCP for os automation as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Hammerspoon when
- You need dedicated capabilities in the OS Automation domain.
- You prefer a local stdio subprocess transport.
- You want tools like
hs_list_windows, hs_focus_window, hs_move_window.
Choose Applescript MCP when
- You need dedicated capabilities in the OS Automation domain.
- You prefer a local stdio subprocess transport.
Feature & specification comparison
Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | OS Automation | OS Automation |
| Quality signal | 53/100 · Good | 44/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Free |
| Required env vars | None listed | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 2 | 465 |
| Directory activity | 1 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 75 | Not listed |
| Full listing | View Hammerspoon | View Applescript MCP |
Tools & capabilities
Hammerspoon tools 75
hs_list_windowsAll visible windows with app, title, frame, idhs_focus_windowBring window to front by id or title matchhs_move_windowMove/resize window by idhs_window_layout16 presets (halves, thirds, quarters, grid, cascade, center…) + custom fractional layoutshs_save_layoutSnapshot all window positions as a named layouths_restore_layoutRestore a saved layout (matches by app + title)hs_list_layoutsList saved layout nameshs_spaces_listAll spaces per screen with active markershs_spaces_activeCurrently focused space + screenhs_spaces_gotoSwitch by ID or indexhs_spaces_move_windowMove window to another space (optionally follow)hs_spaces_addCreate a new space- +63 more on the listing page
Applescript MCP tools
No tool names declared yet. Check the project README from the listing page.
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Hammerspoon
{
"mcpServers": {
"hammerspoon": {
"command": "npx",
"args": [
"-y",
"hammerspoon-mcp"
]
}
}
}
Applescript MCP
{
"mcpServers": {
"peakmojo-applescript-mcp": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}
Frequently asked questions
Hammerspoon is categorized under OS Automation and uses a local stdio subprocess. Applescript MCP belongs to OS Automation and uses a local stdio subprocess. Pick Hammerspoon for os automation work and Applescript MCP for os automation.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.
Hammerspoon has no declared pricing — check the project's own site. Applescript MCP is listed as free. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add hammerspoon and peakmojo-applescript-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Hammerspoon has a quality signal of 53/100 (Good) with 1 views, 0 installs and 2 GitHub stars. Applescript MCP has 44/100 (Fair) with 1 views, 0 installs and 465 GitHub stars.