Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Pi Brain

MCP server by ruvnet Verified · npm:@ruvector

Pi Brain is listed as a CLI and SDK for π, the RuVector shared brain, from ruvnet. The source is the RuVector README, which describes local memory and vector search for AI agents across sessions.

  • Score 94
  • 4.7k stars
  • 128 a week
  • MIT
  • Updated

Install Pi Brain

Built from the published package, never by AI.

claude mcp add pi-brain -- npx -y @ruvector/pi-brain

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Pi Brain in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pi-brain block.

About

Pi Brain is listed here as a CLI and SDK for π, the RuVector shared brain, published by ruvnet. The source is the RuVector README, which describes a Rust native substrate for fast local decisions and agent memory across sessions. It combines local semantic embeddings, persistent vector retrieval, graph relationships, explicit feedback learning, memory lifecycle controls, and optional shared memory.

The npm ruvector package includes an MCP server that an MCP client can launch with npx ruvector mcp start. The README recommends starting with a read-only profile and enabling writes only through an explicit tool policy. It is aimed at developers who want persistent project memory in Node.js, Python, or Rust, and at AI assistants that need access to that memory. The source does not list the MCP tool names.

Written from the project's README and checked against it.

What you need

  • Node.js and npm
  • An MCP compatible client
  • Claude Code, for the setup example in the README

Try asking

  • Retrieve relevant project context from my RuVector memory before answering.
  • Search my stored project decisions about where customer data may be processed.
  • Check which memory records support your answer and list their IDs.

Good to know

  • The README recommends starting with the read only profile.
  • Writes are enabled only through an explicit tool policy.
  • The Python guide currently documents a source installation.
  • Contrastive learning does not establish factual truth, and not all components are enabled in the default search path.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Persistent project memory for AI agents
  • Semantic recall of past decisions
  • Vector search in Node.js, Python or Rust

Alternatives to Pi Brain

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Pi Brain: common questions

Can the MCP server write to memory?

The README recommends starting with the read only profile, RUVECTOR_MCP_PROFILE=readonly. Writes are enabled only through an explicit tool policy.

Does Pi Brain need a cloud service?

The source says the first semantic command downloads a local embedding model. It does not state whether a cloud service is required.

Is Pi Brain the same as RuVector?

The listing names Pi Brain as a CLI and SDK for RuVector's shared brain. The source is the RuVector README and does not mention Pi Brain by name.

How do I install Pi Brain?

In Claude Code run claude mcp add pi-brain -- npx -y @ruvector/pi-brain. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Pi Brain the official server?

Pi Brain is published by npm:@ruvector from its verified domain in the official MCP Registry.

Is Pi Brain free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Pi Brain safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Pi Brain?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Pi Brain work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Pi Brain Install

Add to stack

Loading.