GB

goldziher/basemind

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

125 stars 25 forks 质量 87 趋势 21MIT

goldziher/basemind 是一个从 https://github.com/goldziher/basemind. 导入的 MCP 服务器候选服务器。

概览

goldziher/basemind 是一个从 https://github.com/goldziher/basemind. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

编码代理的上下文与通信层。

Basemind 将任何仓库转化为其代码、文档、历史和内存的始终最新地图—— 因此,代理从结构和搜索中回答,而不是在grep上烧毁上下文窗口,并且 文件内容为——并为一组特工提供了一个共享渠道进行协调。一 服务器两种情况都支持。

跨 300+ 语言的代码映射 ·90+ 格式文档 ·语义 + 全文搜索 · git 历史与责任 ·共享内存 ·网页爬取 ·代理间通信

文档 ·安装 ·功能 ·工作原理 ·性能 ·CLI


一个代理从结构推理——代码模式在实时会话中轮廓和引用,保存状态跟踪令牌。

更多演示 ↓


你得到了什么

Basemind的回答是用文件路径、行号和签名——不是整个文件——所以是个问题 你的代码成本只是读取源代码所需token的一小部分。

能力 功能 关键工具

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


  • Fewer tokens. An agent reads a file’s outline, one symbol’s body or a list of call sites instead of opening and grepping whole files.
  • Answers with paths and lines. Every result names the file, the 1-based line and the signature, so the agent reads only the span it needs.
  • Coordination. Agents on one machine, in any harness and any repository, post to shared threads and read their own inbox.

An agent reasoning from structure — a file outline and a call-site lookup in a live session, statusline tracking tokens saved. Recorded on an earlier release: the tools are now code_outline and code_refs.

Quickstart (60 seconds)

In a Claude Code session (not your shell), at the repository root:

/plugin marketplace add Goldziher/basemind
/plugin install basemind@basemind

Restart Claude Code and run /bm-init. It asks where the rules go, then runs basemind init --yes with the binary the plugin downloaded: that writes basemind.toml and a rules block telling the agent to ask basemind first. Then ask about a function in your repository (parse_config stands in for its name):

Where is parse_config defined, and what calls it?

The first call builds the index; until it is done, answers carry a notice saying so.

Without a plugin, from a shell:

brew install Goldziher/tap/basemind
basemind init --yes
basemind scan
basemind code refs parse_config  # a function name from your repository

Other agents →

What you get

Capability What it answers MCP tools
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "basemind": { "command": "basemind", "args": ["serve"] } } }