
Agentsbestfriend
io.github.TheRealFloatDevPublished by GitHub account TheRealFloatDevv0.12.0Updated Oct 24, 2026
MCP that provides fast, token-efficient tools for navigating, searching, and understanding codebases
Overview
A local MCP server that gives coding assistants token-efficient tools to search, navigate, and analyze a project's codebase.
- What you can do
- AgentsBestFriend indexes a project into a local SQLite database and exposes tools for code search (exact, keyword, or semantic), symbol and chunk extraction, project overview, import graphs, impact and blast-radius analysis, related-test ranking, TypeScript diagnostics, definition/hover lookups, call graphs, and git log/blame/diff. It also offers read-only preview and refactor-planning tools, plus an optional write tool for atomic file edits. Optional Ollama integration adds LLM-generated file summaries and embeddings.
- When to use it
- Useful when an assistant repeatedly re-reads files or searches blindly in a large codebase and you want compact, structured answers about symbols, dependencies, and change impact. Best suited to TypeScript/JavaScript projects, with regex-based support for Python.
- Requirements
- Runs locally over stdio, typically via npx agentsbestfriend start or a global npm install. Needs Node.js 20 or newer, ripgrep, and git. Ollama is optional for summaries and semantic search. The ABF_PROJECT_ROOT environment variable sets the project root and defaults to the current working directory.
Installation
In SourceWeft
- Open Agentsbestfriend in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AgentsBestFriend (abf)
Give your AI coding agents superpowers — a local MCP server for fast, token-efficient code navigation, search & analysis.
Works with VS Code Copilot, Cursor, Claude Code/Desktop, Codex, Cline, Zed, Gemini CLI, Goose, OpenCode, and any other MCP-compatible agent.
Why?
AI coding agents waste tokens re-reading files and searching blindly. ABF gives them purpose-built tools that return exactly what they need — in compact, structured responses that preserve context.
Tools
Install
Prerequisites
- Node.js ≥ 20
- ripgrep —
brew install ripgrep(macOS) /apt install ripgrep(Linux) - git
- Ollama (optional) — for summaries & semantic search: ollama.com
Quick Start
abf init walks you through everything:
- Indexes your project — discovers and indexes all files via
git ls-files - Generates LLM summaries & embeddings (if Ollama is running) — with live
(12/80)progress - Adds
.abf/to.gitignore— prompts before writing - Installs ABF as an MCP server for your agents — you pick which agents (Cursor, VS Code, Claude Code, etc.) and whether to use
npx agentsbestfriend start(always latest) orabf start(local install)
Manual Agent Setup
If you prefer to configure manually, add ABF as a stdio MCP server. Using npx is recommended — it always runs the latest published version without requiring a global install:
VS Code / GitHub Copilot (.vscode/mcp.json):
Cursor (.cursor/mcp.json):
Claude Desktop (claude_desktop_config.json):
Set
ABF_PROJECT_ROOTin theenvblock if the agent does not pass its working directory automatically.
CLI Commands
How It Works
ABF maintains a lightweight SQLite index (.abf/index.db) inside each project root. The index is built once and updated incrementally — only changed files are re-processed. A file watcher keeps it current as you edit.
Optional: LLM Enrichment
With Ollama running locally, ABF generates file summaries and embeddings:
Both abf init and abf portal → Re-index show live progress:
Large files are automatically split into chunks for embedding — no context-length errors.
Without Ollama, all tools still work normally. Semantic search falls back to keyword mode.
Configuration
Global config at ~/.abf/config.json. Edit interactively with abf config or via abf portal.
Architecture
Built with Turborepo + pnpm workspaces. Core modules:
Development
Links
- GitHub: github.com/TheRealFloatDev/AgentsBestFriend
- npm: npmjs.com/package/agentsbestfriend
- Issues: github.com/TheRealFloatDev/AgentsBestFriend/issues
- MCP Spec: modelcontextprotocol.io
License
MIT
Source: README.md at commit f44860a
Tools
0Version history
1- v0.12.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.