プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Cogmemai

作者:hifriendbotバージョン 3.31.2i★ –iパソコンで動く
レジストリ名io.github.hifriendbot/cogmemai

インストール

概要

作者による説明(英語の原文)

Memory for any Ai: remembers across sessions, enforces your rules before actions, reviews the work.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: 検索・AIの記憶
  • 入力が必要なもの:COGMEMAI_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: COGMEMAI_API_KEY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add cogmemai --env COGMEMAI_API_KEY=your-value -- npx -y cogmemai-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "cogmemai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • COGMEMAI_API_KEY 秘密 必須 env
    Your CogmemAi API key from hifriendbot.com/developer/

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント hifriendbot で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの7277件のうち0%よりスターが多い
  • このカテゴリのほかの7277件のうち51%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの7277件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Cogmemaiは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:COGMEMAI_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(3.31.2)がレジストリに届いたのは36 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT昨日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT21 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT先月更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

CogmemAi: The Safe, Persistent Memory That Keeps Ai in Line

It remembers what matters, stops any action that breaks the rules you set before it happens, and checks what your Ai did against what you asked. For assistants, agents, robots, vehicles and code.

Every rogue-Ai story is the same story: an Ai acted, and nothing stood between the decision and the damage. CogmemAi is the part that stands there. It is a portable memory layer that gives any Ai system persistent recall across sessions, devices, users, and teams, captures knowledge autonomously even when your Ai forgets to save, enforces the rules you save before an action happens, and reviews finished work against your intent. The top published score on LongMemEval, the field's hardest long-term memory benchmark (the result). Quantum-safe encryption. Works with Claude Code, Cursor, Windsurf, Cline, Continue, and any MCP-compatible tool. Switch editors, switch models, switch machines: your knowledge stays, and so do your rules. Not just one score on a test: the most complete, and the safest, Ai memory system available.

What's New in v3

Voice Reads PDF (v3.33.1)

voice learn and voice check now read .pdf through pdf.js (loaded only when a PDF is opened): lines are rebuilt from glyph positions, hyphens at line ends are joined, and a paragraph break is a gap well above the page's line spacing or an indented first line. A scanned PDF with no text layer is reported as such rather than measured as empty. The package now requires Node 20 or newer.

Voice: Every Ai Writes Like You (v3.33.0)

npx cogmemai-mcp voice learn notes.md emails.txt paper.docx reads writing you wrote yourself, measures it on your machine (sentence rhythm and how much it varies, paragraph length, how sentences open and close, every punctuation mark per thousand words, contractions, first and second person, vocabulary level, signature words, bullets and headings), sends the measurements and short excerpts to the MSGR gateway once, and stores what comes back as rule memories: one voice_profile rule that describes the voice in checkable terms and eight to twelve voice_* rules ("NEVER use a semicolon; the writer used none in 4,200 words", "ALWAYS open about one sentence in ten with a short transition"). Rules load into every session of every Ai connected to your memory, so Claude Code, Cursor, claude.ai, a companion or a support assistant all write in your voice from the next session on, with nothing else to configure. Global by default; --project learns a brand voice for one project instead. Then cogmemai-mcp voice check draft.md (or pipe text in with -) measures a draft the same way, reports where it drifts from your writing (marks you never use, sentences twice your length, no contractions where you contract, none of your frequent words), and has the review judge it against the voice document; it passes at the threshold with no violations, so it works as a gate before anything is sent or published. The voice_check tool does the same from inside the conversation, and the instructions tell an Ai to call it before handing back any draft longer than a paragraph. voice show prints the profile, its rules and the measurements; --dry-run shows exactly what would be sent. Reads .txt, .md, .html, .docx and (from 3.33.1) .pdf. This is for writing in your own voice on your own work; it is not a detector bypass and is never tested against one.

Docs: One Answer on Keys in Local Mode (v3.32.4)

The README said in one place that local mode needs no key and in three others that it does. It does: a free key registers the install, and in local mode nothing you store leaves your machine. The environment table now says so, and the whole README reads without em dashes. No code change.

The Safe Memory That Keeps Ai in Line (v3.32.3)

No code change. The package now says plainly what Guard and Review are for: the Ai you run should never be the one in the rogue-Ai headlines. Rules you save are enforced before an action happens, whether that action is a shell command, a message, a purchase or a change, and finished work is reviewed against what you asked. See Guard, Rule Packs and Intent.

A Character Budget for Recall (v3.32.0)

Long memories are worth keeping, and expensive to load ten at a time: every tool result stays in the conversation and is read again on each later turn. recall_memories now takes an optional max_chars. With a budget, the best-ranked memories come back complete and the rest come back as 400-character snippets that keep their id, type, subject and score, each marked truncated with its real length. Nothing is hidden: call recall_memories again with the same query and expand_ids: [..] to read any of them in full, or pass max_chars: 0 for everything. To make a budget the default for your own setup, set COGMEMAI_RECALL_MAX_CHARS (for example 8000) in the server's env; a max_chars on the call always wins. Replayed over a real working day of twelve searches, a budget of 8000 cut recall output by 42 percent. Without a budget, results are exactly what they were before. Save responses are lighter too: the related-memory pointer on save_memory is now a 300-character preview with its id, and the full text is still returned whenever the similarity is high enough to suggest a merge.

Sign In Instead of Pasting a Key, and Tool Annotations (v3.31.2)

The hosted endpoint https://hifriendbot.com/mcp/ now speaks OAuth 2.1: an MCP client that supports it (claude.ai, Claude Desktop, Cursor and others) discovers the authorization server from the endpoint's 401, registers itself, sends you to a CogmemAi consent page to sign in, and gets a token with PKCE; API keys keep working exactly as before. Every tool now carries MCP annotations (title, readOnlyHint, destructiveHint, idempotentHint), so clients can label tools and decide what to confirm.

Migrate: the Cloud Migration Playbook (v3.31.0)

npx cogmemai-mcp migrate assess --target aws (or azure, gcp) reads the repository and produces the migration in one run: an inventory (languages, frameworks, data stores, cloud SDKs, infrastructure as code, containers, CI, scheduled jobs, environment variable names, external hosts, secret-looking files; names and counts only, no file contents and never a secret value leave the machine), the migration scope document written as the project's intent (what moves, what stays, NEVER and MUST invariants, phases with a definition of done each, out of scope), and MIGRATION.md with the components table, phases, a ranked risk register, cost drivers and open questions. The plan and risks are stored as memories, and the migrate pack (16 process rules: inventory first, one workload at a time, lift then modernize, rehearsed rollback, data verified by counts and checksums, bulk syncs never delete without a dry run, secrets reissued and never exported, a single writer at cutover, source read-only thirty days before decommission) and the target cloud's pack are installed. Then, after each phase, cogmemai-mcp migrate gate " " reviews the work (commits, changed files, your notes, the planned steps) against the scope and passes at coverage 80 or more with no violations; every gate result is stored so the migration has a record. Three new cloud packs ship alongside: aws (20 rules), azure (18) and gcp (17), each in that cloud's own CLI shapes: no root or primitive roles, no long-lived keys, no admin ports or databases open to the internet, no public buckets, encryption and backups and deletion protection, detective controls and audit logs never disabled, org policies and SCPs as the floor, approved regions and data residency, budgets before the first workload, tags on everything. cogmemai-mcp migrate inventory prints the inventory alone, --dry-run shows what would be sent, --no-rules skips the packs, --force replaces an existing intent. The assessment runs through the MSGR gateway on your account's daily limit.

Rule Packs: a Security Policy in One Command (v3.30.0)

npx cogmemai-mcp rules install devsecops installs 40 ready-made rules covering secrets, infrastructure as code, least privilege, network exposure, CI/CD gates, change control, containers and Kubernetes, data handling, logging and incident response, plus the rules an Ai agent on your infrastructure must obey. Each rule is an ordinary rule memory: its shell patterns stop commands before they run (terraform destroy, --acl public-read, curl | bash, kubectl delete namespace, a key pasted into export), and its plain words drive the judged guard_check and the end-of-turn review, so "copy the production dump to my laptop" is denied even though no shell pattern matches it. Add --intent to give the project a platform-and-security intent document when it has none, --global to apply the pack to every project, --dry-run to see what would be installed. Reinstalling skips rules already present, and rules show devsecops prints the whole pack before you commit to it. Rules are editable afterward like any memory. All forty rules, the intent document and a 90-second video of an agent being stopped are at hifriendbot.com/devsecops.

The Review Works Outside Git (v3.29.0)

The end-of-turn review used to need a git repository, because it read git diff. Most folders people work in from a home directory are not repositories, and neither are most non-coders' projects. v3.29.0 reads this session's edit events instead (the PostToolUse hook already records every Edit and Write), builds the same diff shape from them, checks the added text for secrets, recalls remembered landmines for the touched files, and runs the intent check. Work on several projects from one folder is judged project by project: an edit under ~/NullJury is reviewed against NullJury's intent when it has one, and the note is prefixed with that project id. Nothing changes inside a repository.

Guard and Review for Everything, Not Only Code (v3.28.0)

Until now the guard judged shell commands and the intent review judged code diffs, because those were the hooks a coding tool gave us. v3.28.0 opens both to any Ai through two tools and two REST endpoints:

  • guard_check: "may I do this?" Any action (a message about to be sent, a purchase, a change, a command) is judged against the rules this person has asked their Ai to keep, plus the NEVER and MUST lines of the project intent. A literal check runs on every tier; the judged check on the paid tiers. Returns allow, ask or deny with the rule that applies, and fails open.
  • review_work: "did I do what was asked?" Pass a description, output, message or transcript of what was done and it is reviewed against the intent document, or against an intent passed inline. Same plain-English result as the code review: summary, covered, uncovered, violations, coverage.

A support assistant, a companion, a robot's task planner and a coding agent now share one memory that shapes what any model does: it remembers, it enforces, it reviews. The same calls are on the SDKs (guardCheck / reviewWork, guard_check / review_work) and on REST as POST /cogmemai/guard-check and `POST /cogmemai

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く