1. Conduid
  2. Developer Tools
  3. Claude Code Emacs
MCP server · Developer Tools

Claude Code Emacs

This package provides seamless integration with Claude Code, allowing you to run AI-powered coding sessions directly in your Emacs environment.

66Good

Scored 8 hours ago · breakdown

About Claude Code Emacs

Claude Code Emacs is an MCP server published by yuya373 in the Developer Tools category: this package provides seamless integration with Claude Code, allowing you to run AI-powered coding sessions directly in your Emacs environment. Conduid read 11 tools from its source: describeSymbol, findReferences, getCurrentSelection, getDefinition, getDiagnostics, getOpenBuffers and 5 more. No package is published for it, so it installs from a source checkout.

The repository has 67 stars and 7 forks, is licensed GPL-3.0, and its last commit was on 24 Sep 2026. The latest release is v0.10.1 (24 Sep 2026): Summary This release stops openDiffContent from overwriting your Emacs buffers. It follows v0.10.0 (12 Aug 2026), and the 5 most recent releases go back to v0.9.0 (25 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools and emacs.

Install

From source
git clone https://github.com/yuya373/claude-code-emacs

Tools (11)

describeSymbolGet the hover documentation (signature, type, docstring) for a symbol, using lsp-mode (textDocument/hover). The file is opened in Emacs, point moves to the first occurrence of symbol on the given line, and the language server is asked for hover information; if symbol does not appear on that line, the request is made from the start of the line. Requires lsp-mode to be active for that file. Content depends entirely on what the language server returns for hover.
findReferencesFind all references to a symbol, using lsp-mode (textDocument/references). The file is opened in Emacs, point moves to the first occurrence of symbol on the given line, and the language server is asked for references; if symbol does not appear on that line, the request is made from the start of the line. Requires lsp-mode to be active for that file. Returns each reference with its path relative to the project root, absolute path, range and a few lines of preview.
getCurrentSelectionGet the text of the active region (selection) in the current Emacs buffer (normally the one the user is working in), with its file path and start/end line and column. When no region is active it returns "No text is currently selected" and empty fields; the file path is empty when the buffer is not visiting a file. It returns only the selected text, not the rest of the buffer.
getDefinitionFind where a symbol is defined, using lsp-mode (textDocument/definition). The file is opened in Emacs, point moves to the first occurrence of symbol on the given line, and the language server is asked for its definition; if symbol does not appear on that line, the request is made from the start of the line and may resolve a different symbol. Requires lsp-mode to be active for that file. Returns each definition location with a few lines of preview, or an error when none is found.
getDiagnosticsGet lsp-mode diagnostics (errors, warnings, hints) for every file in the LSP workspace that the given buffer belongs to, grouped by file. The buffer argument is an Emacs buffer name (the name field from getOpenBuffers), not a file path; the buffer must be open with lsp-mode active, because its workspace decides which diagnostics come back. Returns an empty list when lsp-mode is not installed or the server reports nothing. Structured output uses 0-based lines and a single start position per range; the text output shows 1-based lines.
getOpenBuffersList Emacs buffers that visit files under the current project root. Each entry has the absolute file path, the buffer name, whether it is the current buffer in Emacs (active), and whether it has unsaved changes (modified). Buffers without a file (vterm, dired, *scratch*, etc.) and files outside the project are not included. The buffer name is what getDiagnostics takes as its buffer argument.
openCurrentChangesShow the uncommitted changes of a file as a unified diff in an Emacs *vc-diff* buffer, comparing the working copy with the last committed version (like git diff). Without file it uses the file of the current Emacs buffer. For a side-by-side comparison against a specific revision, use openRevisionDiff.
openDiffContentCompare two text snippets side-by-side in an Emacs ediff session. Use this for content that is not saved in files, such as alternative versions of a code snippet, API responses, or generated content. Each content goes into a dedicated buffer named "*claude-code-diff: <title>*"; an earlier buffer with the same title is reused only if it is unedited and no longer in an ediff session, and no other buffer is ever modified.
openDiffFileCompare two files side-by-side in an Emacs ediff session. Paths may be absolute or relative to the project root, and both files must exist. For comparing a file with its git history, use openRevisionDiff instead.
openRevisionDiffCompare a file with its previous version from git history. Use this when you want to see what changed in a file over time, not for comparing two different files.
sendNotificationShow a notification to the user in Emacs, for example when a task completes or needs their attention. Uses the alert package when it is installed (which may produce a desktop notification, depending on the user's alert style) and otherwise falls back to a message in the Emacs echo area. It does not wait for or return any user response.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.4K words.
  • ✓License declaredThe repository declares the GPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by mcp-server/package-lock.json.
  • ✓No dynamic code executionScanned 27 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiomcp-server/src/index.ts:4
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
3 callsmcp-server/src/index.ts:51, mcp-server/src/index.ts:369, mcp-server/src/index.ts:506
Lockfile
mcp-server/package-lock.json

Pattern matches on the source text of 27 files: places to read, not proof of what the code does at run time.

Releases

v0.10.1Release 0.10.1 · 24 Sep 2026Summary This release stops `openDiffContent` from overwriting your Emacs buffers. It also rewrites the MCP tool descriptions so Claude Code gets each tool's actual behavior. Nothing here is a breaking change, so no migration is needed. Bug…
v0.10.0Release 0.10.0 · 12 Aug 2026Summary This release makes the Emacs ⇔ MCP connection survive the two situations that used to break it: running several Claude Code agents in the same project, and restarting Emacs while background sessions keep running. It also adds a…
v0.9.2Release 0.9.2 · 31 Jul 2026Summary A bug-fix release focused on the vterm output filter, path-boundary correctness, and the reliability of the test suite itself. Big thanks to @waterson for two excellent reports with fixes! Bug Fixes vterm filter Stop flooding…
v0.9.1Release 0.9.1 · 26 May 2026Summary Add visual feedback to `claude-code-vterm-scroll-mode` so the active scroll mode is unmistakable at a glance. The Claude Code buffer's mode line is highlighted with a prominent orange face and the minor-mode lighter is replaced…
v0.9.0Release 0.9.0 · 25 May 2026✨ New Feature: `claude-code-vterm-scroll-mode` A new minor mode that adds scroll-key bindings for navigating the Claude Code fullscreen view without giving up the normal vterm input behavior. Toggle it on/off with `C-c C-s` from inside a…

README

The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Claude Code Emacs

How do I install Claude Code Emacs?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Claude Code Emacs safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 27 source files found that it serves MCP over stdio and writes or deletes files (3 calls). Its dependencies are pinned by mcp-server/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Claude Code Emacs still maintained?

Yes — the latest release is v0.10.1 (24 Sep 2026), and the last commit was 2 months ago. The repository has 67 stars and 3 open issues.

What tools does Claude Code Emacs provide?

Conduid read 11 tools from the source: describeSymbol, findReferences, getCurrentSelection, getDefinition, getDiagnostics, getOpenBuffers, openCurrentChanges, openDiffContent and 3 more.

What license is Claude Code Emacs released under?

The repository declares the GPL-3.0 license. That applies to the latest release, v0.10.1, as well.