{
"mcpServers": {
"emacs-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Pure ELISP MCP server for Emacs
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
GPL-3.0. View license →
Is it maintained?
Last commit 9 days ago. 64 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Emacs Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Connect Large Language Models directly to your Emacs environment! This MCP (Model Context Protocol) server exposes Emacs functionality through standardized tools, allowing LLMs like Claude to read and modify your buffers, execute elisp code, navigate files, and much more.
Installation: Place the files in your Emacs configuration directory and add to your config:
(add-to-list 'load-path "~/path-to/mcp-server")
(require 'mcp-server)
Alternatively, use package managers:
;; Using straight.el
(use-package mcp-server
:straight (:type git :host github :repo "rhblind/emacs-mcp-server"
:files ("*.el" "tools/*.el" "mcp-wrapper.py" "mcp-wrapper.sh"))
:config
(add-hook 'emacs-startup-hook #'mcp-server-start-unix))
;; Using use-package with manual path
(use-package mcp-server
:load-path "~/path-to/mcp-server"
:config
(add-hook 'emacs-startup-hook #'mcp-server-start-unix))
;; Using Doom Emacs package! macro
(package! mcp-server
:recipe (:type git :host github :repo "rhblind/emacs-mcp-server"
:files ("*.el" "tools/*.el" "mcp-wrapper.py" "mcp-wrapper.sh")))
Start the server: Run M-x mcp-server-start-unix in Emacs. The server creates a Unix socket at ~/.config/emacs/.local/cache/emacs-mcp-server.sock.
Connect Claude Desktop: Add this to your Claude Desktop configuration:
[!NOTE] Make sure you have
socatinstalled!
{
"mcpServers": {
"emacs": {
"command": "socat",
"args": ["-", "UNIX-CONNECT:~/.config/emacs/.local/cache/emacs-mcp-server.sock"],
"transport": "stdio"
}
}
}
Connect Claude CLI
claude mcp add emacs ~/path-to/mcp-wrapper.py ~/.config/emacs/.local/cache/emacs-mcp-server.sock # Uses the python script
claude mcp add emacs ~/path-to/mcp-wrapper.sh ~/.config/emacs/.local/cache/emacs-mcp-server.sock # Uses the bash script
claude mcp add emacs-direct -- socat - UNIX-CONNECT:$HOME/.config/emacs/.local/cache/emacs-mcp-server.sock # Uses socat directly
# Real world, add to user scope so it's always available
claude mcp add emacs --scope user ~/.config/emacs/.local/straight/build-30.1/mcp-server/mcp-wrapper.py ~/.config/emacs/.local/cache/emacs-mcp-server.sock
That's it! Claude can now interact with your Emacs session.
Once connected, LLMs can perform powerful operations in your Emacs environment:
Code and Text Manipulation
Emacs Integration
M-x command programmaticallyeval-elisp - Execute arbitrary elisp expressions safely and return the resultget-diagnostics - Get flycheck/flymake diagnostics from project buffersRetrieves errors and warnings from flycheck or flymake (auto-detected per buffer) across all project buffers. Results are grouped by file and sorted by severity.
*Parameters: