Skip to content

Codebase Memory vs TokenBar

Codebase Memory is an open-source MCP server for knowledge and memory. TokenBar is an open-source MCP server for developer tools.

  • Codebase Memory is best for find callers of a function.
  • TokenBar is best for have an agent check its budget before a long refactor.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
TokenBar is an open-source MCP server for developer tools.
Best for
Find callers of a function
Have an agent check its budget before a long refactor
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
macOS, Windows, Linux, iOS, Android, vscode, CLI
Runs
Locally
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Find callers of a function; Assess the impact of a diff; Link documentation to code
Have an agent check its budget before a long refactor; Show remaining usage in your shell prompt; Get a Slack alert at 80% of a limit

What Codebase Memory does

  • Code knowledge graph

    Persistent graph of symbols, calls and dependencies.

  • Multiple search modes

    Structural, full-text and local semantic search.

  • Documentation links

    Indexes Markdown, reStructuredText, AsciiDoc and ADRs.

  • Infrastructure tracing

    Connects Docker, Kubernetes, Terraform and CI to source.

  • Change impact

    Maps a diff to affected symbols and related tests.

  • Native CLI

    Query the same graph from the command line.

What TokenBar does

  • Budget check for agents

    Lets Claude Code, Codex and Cursor read remaining budget and reset time before a long task.

  • Local JSON API

    Serves usage on localhost:41777 to any script or app on the machine.

  • CLI

    Prints usage as JSON, for scripts, or as a shell prompt segment.

  • Threshold webhooks

    Sends events at 80%, 95% and reset.

  • Many displays

    Shows limits on desktop, phone, watch, VS Code, Raycast and Stream Deck.

Codebase Memory vs TokenBar: questions

Is Codebase Memory or TokenBar cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Codebase Memory and TokenBar?

Codebase Memory is an open-source MCP server for knowledge and memory. TokenBar is an open-source MCP server for developer tools.