Browse / MCP servers

lh123aa/cortex

Cortex - AI Agent 的第二大脑。单二进制本地知识库,MCP 原生支持,混合搜索 + Agent 记忆系统。

  • MCP
  • ai
  • chinese-nlp
  • claude
  • cursor
  • golang
  • knowledge-base
  • local-first
  • mcp
  • mcp-server
  • memory
  • rag
  • semantic-search

Works.Tested on 2026-11-29. From the README alone, on Linux with Luna.

For maintainers

Keep your README agent-ready

Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

Improve the README and setup experience of lh123aa/cortex so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Works in 9:17 (tested 2026-11-29).
Please review the README and setup scripts to keep agent onboarding fast and reliable:
1. Fix any documented command that required extra steps or workarounds.
2. Pin dependency versions in a lockfile and document a fast verification command.
3. Keep prerequisites, platform notes, and expected output concise and exact.
Also review the recorded check notes (possible secrets, known vulnerabilities, download-and-run lines) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for lh123aa/cortex
[![Coldpass status](https://coldpass.dev/badge/lh123aa--cortex.svg)](https://coldpass.dev/repo/lh123aa--cortex/)

What we checked

Is it safe?Review first. Found: possible secrets, known vulnerabilities, download-and-run lines.Each check
  • Malware: not checked on every setup (its lockfile dependencies and the packages installed during our run).
  • Secrets in its files: 1 possible hardcoded secret found by gitleaks (values and locations withheld).
  • Known vulnerabilities in its dependencies: 70 OSV advisories: github.com/modelcontextprotocol/go-sdk 1.2.0 (GHSA-89xv-2j6f-qhc8); github.com/modelcontextprotocol/go-sdk 1.2.0 (GHSA-q382-vc8q-7jhj); github.com/modelcontextprotocol/go-sdk 1.2.0 (GHSA-wvj2-96wp-fq3f); github.com/modelcontextprotocol/go-sdk 1.2.0 (GHSA-xw59-hvm2-8pj6); github.com/modelcontextprotocol/go-sdk 1.2.0 (GO-2026-4569); github.com/modelcontextprotocol/go-sdk 1.2.0 (GO-2026-4770); github.com/modelcontextprotocol/go-sdk 1.2.0 (GO-2026-4773); github.com/modelcontextprotocol/go-sdk 1.2.0 (GO-2026-5771); github.com/quic-go/quic-go 0.59.0 (GHSA-vvgj-x9jq-8cj9); github.com/quic-go/quic-go 0.59.0 (GO-2026-5676); golang.org/x/crypto 0.48.0 (GHSA-45gg-vh54-h5m9); golang.org/x/crypto 0.48.0 (GHSA-5cgq-3rg8-m6cv); golang.org/x/crypto 0.48.0 (GHSA-78mq-xcr3-xm33); golang.org/x/crypto 0.48.0 (GHSA-89gr-r52h-f8rx); golang.org/x/crypto 0.48.0 (GHSA-9m57-25v3-79x9); golang.org/x/crypto 0.48.0 (GHSA-f5wc-c3c7-36mc); golang.org/x/crypto 0.48.0 (GHSA-jppx-rxg9-jmrx); golang.org/x/crypto 0.48.0 (GHSA-q4h4-gmj2-qvw2); golang.org/x/crypto 0.48.0 (GHSA-qpw4-5x99-6vjp); golang.org/x/crypto 0.48.0 (GHSA-rm3j-f69w-wqmq); golang.org/x/crypto 0.48.0 (GHSA-vgwf-h737-ff37); golang.org/x/crypto 0.48.0 (GHSA-w879-237q-wc7r); golang.org/x/crypto 0.48.0 (GHSA-x527-x647-q7gg); golang.org/x/crypto 0.48.0 (GO-2026-5005); golang.org/x/crypto 0.48.0 (GO-2026-5006); golang.org/x/crypto 0.48.0 (GO-2026-5013); golang.org/x/crypto 0.48.0 (GO-2026-5014); golang.org/x/crypto 0.48.0 (GO-2026-5015); golang.org/x/crypto 0.48.0 (GO-2026-5016); golang.org/x/crypto 0.48.0 (GO-2026-5017); golang.org/x/crypto 0.48.0 (GO-2026-5018); golang.org/x/crypto 0.48.0 (GO-2026-5019); golang.org/x/crypto 0.48.0 (GO-2026-5020); golang.org/x/crypto 0.48.0 (GO-2026-5021); golang.org/x/crypto 0.48.0 (GO-2026-5023); golang.org/x/crypto 0.48.0 (GO-2026-5033); golang.org/x/crypto 0.48.0 (GO-2026-5932); golang.org/x/crypto 0.48.0 (GO-2026-6303); golang.org/x/crypto 0.48.0 (GO-2026-6354); golang.org/x/crypto 0.48.0 (GO-2026-6355); golang.org/x/image 0.32.0 (GHSA-44p7-9xx4-hf2g); golang.org/x/image 0.32.0 (GHSA-q675-qj96-32m9); golang.org/x/image 0.32.0 (GO-2026-4815); golang.org/x/image 0.32.0 (GO-2026-4961); golang.org/x/image 0.32.0 (GO-2026-4962); golang.org/x/image 0.32.0 (GO-2026-5031); golang.org/x/image 0.32.0 (GO-2026-5032); golang.org/x/image 0.32.0 (GO-2026-5061); golang.org/x/image 0.32.0 (GO-2026-5062); golang.org/x/image 0.32.0 (GO-2026-5066); golang.org/x/image 0.32.0 (GO-2026-6222); golang.org/x/net 0.51.0 (GHSA-5cv4-jp36-h3mw); golang.org/x/net 0.51.0 (GO-2026-4918); golang.org/x/net 0.51.0 (GO-2026-5025); golang.org/x/net 0.51.0 (GO-2026-5026); golang.org/x/net 0.51.0 (GO-2026-5027); golang.org/x/net 0.51.0 (GO-2026-5028); golang.org/x/net 0.51.0 (GO-2026-5029); golang.org/x/net 0.51.0 (GO-2026-5030); golang.org/x/net 0.51.0 (GO-2026-5942); golang.org/x/net 0.51.0 (GO-2026-6603); golang.org/x/net 0.51.0 (GO-2026-6610); golang.org/x/net 0.51.0 (GO-2026-6611); golang.org/x/net 0.51.0 (GO-2026-6612); golang.org/x/net 0.51.0 (GO-2026-6617); golang.org/x/net 0.51.0 (GO-2026-6860); golang.org/x/net 0.51.0 (GO-2026-6866); golang.org/x/sys 0.42.0 (GO-2026-5024); golang.org/x/text 0.34.0 (GO-2026-5970); golang.org/x/text 0.34.0 (GO-2026-6629). Packages installed during our run were not checked for ordinary vulnerabilities on every setup.
  • Lines that download and run a program: 3 lines in its source, including test, fixture and vendored files (a text match; we did not see them run).
  • Planted fake secret files: repo code opened none.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: 1 local or unverified name withheld.

From our newest run of each setup (Nov 29, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Yes (Luna, 9:17)The run

5:00 Install finished

1:15 First use worked

Test history

  • Nov 29, 2026 · 409ae411494f · linux / Luna · passed · run JSON
Does it do what the README says?1 of 1 claims held up. A claim is one README promise we ran and checked.Evidence

“Agent memory write and search”

Does the repo’s own CI pass?Success.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?No.Details

None seen

What does it depend on?Go 1.25.5, SQLite embedded in binary; configured local database <guest-path>Dependencies

Software the test agent reported the README needed.

Local or hosted?Local: runs on your machineHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?During our run, it tried to contact 1 outside address. Its source has lines that download and run a program.What we saw

Linux / Luna

  • During our run, cortex tried to contact 1 address on port 443: 57.150.192.193.
  • Its source has 3 lines that download and run a program (a text match; we did not see them run).
  • While installing, git-remote-https looked up github.com.
  • No readable Python or npm packages were available to check against OSV malicious-package advisories.

Ships 1 compiled program (1 Windows): downloads/cortex-windows-latest-amd64.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the TCP connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 7 days ago; 28 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-21

AboutStars: 3 · Forks: 1 · Contributors: 2 · Owner account since Apr 17, 2023Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: Apache-2.0 · commercial use: yesSource

From GitHub’s license detection. The repository’s license text gives the terms.

MCP14 tools · ~1,453 context tokensTools

From the tools/list page returned on Nov 29, 2026 with Luna.

  • cortex_code_search
  • cortex_context
  • cortex_health
  • cortex_map
  • cortex_memory_batch
  • cortex_memory_delete
  • cortex_memory_delete_batch
  • cortex_memory_search
  • cortex_memory_write
  • cortex_plan
  • cortex_project_context
  • cortex_search
  • cortex_stats
  • cortex_suggest
Cost to runFree in this testDetails

Peak guest RAM: 1,760 MiB

Guest disk change: 2,235 MiB

GPU need: not captured

Paid service: not captured