Pi MCP Server

Pi extension for Cognee AI memory — supports both direct SDK and MCP bridge modes. Remember, recall, forget, and manage knowledge graphs from your

Remote serverstreamable-http

What is the Pi MCP server?

Pi extension for Cognee AI memory — supports both direct SDK and MCP bridge modes. Remember, recall, forget, and manage knowledge graphs from your coding agent. The pi mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 9 defined tools rather than through you.

What it actually does

Cognee AI memory for Pi — your coding agent with persistent, queryable knowledge graph memory.

Its toolset

Everything the assistant can do here goes through one of these:

  • cognee_health — Check connectivity
  • cognee_remember — Store text in memory
  • cognee_recall — Search memory
  • cognee_forget — Delete datasets or all memory
  • cognee_datasets — List datasets
  • cognee_dataset_data — List items in a dataset
  • cognee_create_dataset — Create a new dataset
  • cognee_client_info — Show client identity and mode
  • cognee_cognify_file — Ingest a file (base64)

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

When to reach for it

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Pi's toolset — cognee_health, cognee_remember, cognee_recall and 6 more — is a fair guide to whether it matches your workflow. It is maintained by kerryhatcher; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Pi.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the pi mcp server does with a few real requests.

Available tools

ToolWhat it does
cognee_healthCheck connectivity
cognee_rememberStore text in memory
cognee_recallSearch memory
cognee_forgetDelete datasets or all memory
cognee_datasetsList datasets
cognee_dataset_dataList items in a dataset
cognee_create_datasetCreate a new dataset
cognee_client_infoShow client identity and mode
cognee_cognify_fileIngest a file (base64)

Example prompts to try

  • Use Pi to cognee health.
  • Use Pi to cognee remember.
  • Use Pi to cognee recall.

Frequently asked questions

It connects Pi to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (cognee_health, cognee_remember, cognee_recall, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pi directly.