ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Hashgrid DNA (local)

โดย hashgrid-labsรุ่น 1.3.0i★ –iรันบนเครื่อง
ชื่อใน registryai.hashgrid/sdk

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Search that learns from feedback, over text and images: embeds locally, sends DNA only vectors.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: HASHGRID_API_KEY, OPENAI_API_KEY, VOYAGE_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: HASHGRID_API_KEY, HASHGRID_EMBEDDER, OPENAI_API_KEY, VOYAGE_API_KEY, HASHGRID_INDEX

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "sdk": {
      "command": "uvx",
      "args": [
        "hashgrid",
        "mcp"
      ],
      "env": {
        "HASHGRID_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_EMBEDDER": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "VOYAGE_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_INDEX": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add sdk --env HASHGRID_API_KEY='ใส่ค่าของคุณ' --env HASHGRID_EMBEDDER='ใส่ค่าของคุณ' --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env VOYAGE_API_KEY='ใส่ค่าของคุณ' --env HASHGRID_INDEX='ใส่ค่าของคุณ' -- uvx hashgrid mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "sdk": {
      "command": "uvx",
      "args": [
        "hashgrid",
        "mcp"
      ],
      "env": {
        "HASHGRID_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_EMBEDDER": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "VOYAGE_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_INDEX": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "sdk": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "hashgrid",
        "mcp"
      ],
      "env": {
        "HASHGRID_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_EMBEDDER": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "VOYAGE_API_KEY": "ใส่ค่าของคุณ",
        "HASHGRID_INDEX": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • HASHGRID_API_KEY ความลับ env
    Your DNA API key, hg-…. Leave it out and the create_grid tool makes a grid and saves its key in the local index.
  • HASHGRID_EMBEDDER env
    The embedder, one per grid: fastembed: (local; fastembed:Qdrant/clip-ViT-B-32 for images), openai: or voyage: .
  • OPENAI_API_KEY ความลับ env
    For an openai: embedder.
  • VOYAGE_API_KEY ความลับ env
    For a voyage: embedder.
  • HASHGRID_INDEX env
    The local index: a sqlite file that maps DNA ids to your text.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน hashgrid.ai แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7223 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 74% ของอีก 7223 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7223 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Hashgrid DNA (local) ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: HASHGRID_API_KEY, OPENAI_API_KEY, VOYAGE_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.3.0) เข้า registry 13 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

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

รันบนคลาวด์★ 5,213MITอัปเดต 44 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

hashgrid

The Python client for Hashgrid DNA, a search engine that learns from feedback. You add items and search them; you score the results; DNA learns from the scores, so the next searches rank better.

DNA works on embeddings only and never sees your content. This package embeds text and images on your machine, sends DNA only the vectors, and keeps the content with you, in a local index.

pip install 'hashgrid[local]'

[local] adds the local embedders, which run on your CPU with no account. To embed with OpenAI or Voyage instead, install plain hashgrid and use your own key.

Each grid has its own API key (hg-…). Creating a grid needs no key:

from hashgrid.dna import Grid

grid, api_key = Grid.create("mine") print(api_key) # shown only now: keep it, e.g. as $HASHGRID_API_KEY

A grid created this way holds up to 1024 items and queries (grid.dna.get_grid().max_nodes), and each address can create a few grids a day. Need more? Write to office@hashgrid.ai.

Add, search, score

from hashgrid.dna import Grid

grid = Grid() # Index() and DNA(), from the environment: the key from $HASHGRID_API_KEY

grid.add_many({ "/cities/lisbon": "Lisbon, a hilly coastal capital", "/cities/oslo": "Oslo, between fjords and forest", })

query, results = grid.ask("a capital by the sea", k=2, prefix="/cities/") results[0].content # "Lisbon, a hilly coastal capital" grid.score(query, results[0], 1.0) # a good result grid.score(query, results[1], -0.5) # a poor one

  • Items have a key, a path unique in the grid. Only items are found by searches, and prefix narrows a search to keys that start with it. Without a key, an item is keyed by a hash of its content, so adding the same content again returns the same item.
  • Queries have no key. grid.search(query, k) gives the next k results not shown before.
  • Scores run from -1 (wrong) to 1 (perfect). You can score a result, or any pair you already know is good or bad. Only scores train DNA.

Each Result has the item's id, key, content (from the index) and your score. grid.results(query) lists a query's results so far, and grid.get and grid.delete take an item or its id. grid.delete_grid() deletes the whole grid, for good, and its content in the index. AsyncGrid does the same with await.

Images

Content is text or an Image, from a file or from bytes. Images need an embedder that takes them:

from hashgrid.dna import Grid

from hashgrid.index import Image, Index

grid = Grid(Index("fastembed:Qdrant/clip-ViT-B-32")) grid.add(Image("photos/beach.jpg"), key="/photos/beach") query, results = grid.ask("a sunny beach", k=5) # text finds images query, results = grid.ask(Image("another.jpg")) # and so do images

The index

Index is the local half of a grid. It embeds content, and keeps it in sqlite by DNA id, so results come back with their content. Index() uses the default embedder and ~/.hashgrid/index.sqlite; $HASHGRID_EMBEDDER and $HASHGRID_INDEX change them, and so do its arguments:

Index("voyage:voyage-multimodal-3")

Index(OpenAI("text-embedding-3-small", dimensions=512), path="my-index.sqlite") Index(path=":memory:") # keeps nothing

Use one embedder per grid. Vectors from different models do not compare. The index records each grid's embedder and refuses another, and a grid refuses vectors whose length differs from its own.

embeddertakesrunsneeds
fastembed:BAAI/bge-small-en-v1.5 (default)textlocallyhashgrid[local]
fastembed:Qdrant/clip-ViT-B-32, fastembed:jinaai/jina-clip-v1text, imageslocallyhashgrid[local]
openai:text-embedding-3-smalltextOpenAIOPENAI_API_KEY
voyage:voyage-3.5textVoyage AIVOYAGE_API_KEY
voyage:voyage-multimodal-3text, imagesVoyage AIVOYAGE_API_KEY

Other fastembed, OpenAI and Voyage models work too: fastembed: , openai: , voyage: . DNA takes up to 2048 values, so openai:text-embedding-3-large is shortened to 2048 (openai: @ sets the length). With OpenAI or Voyage, your content goes to that provider under your own key, and still never to DNA. Your own embedder is any object with a spec, the modalities it takes ({"text"}, {"text", "image"}) and embed(contents, kind), where kind is "document" or "query".

The API, typed

DNA and AsyncDNA have one method per route of the HTTP API, named after it.

from hashgrid.dna import DNA

dna = DNA("hg-…") item = dna.create_node([0.1, 0.2, 0.3], key="/items/1") query = dna.create_node([0.1, 0.2, 0.25]) edge = dna.create_edge(query, prefix="/items/") # the search; None when nothing is left dna.put_edge(query, edge, 1.0) # the score

methodroute
create_grid(name), acreate_grid(name) (functions, no key)POST /
get_grid()GET /
delete_grid()DELETE /
list_nodes(cursor, limit), iter_nodes()GET /nodes
get_node(nid)GET /nodes/{nid}
create_node(emb, key=None)POST /nodes
update_node(nid, key=…, emb=…)PATCH /nodes/{nid}
delete_node(nid)DELETE /nodes/{nid}
list_edges(nid, cursor, limit), iter_edges(nid)GET /nodes/{nid}/edges
get_edge(nid, eid)GET /nodes/{nid}/edges/{eid}
create_edge(nid, prefix=""), alias searchPOST /nodes/{nid}/edges
put_edge(nid, eid, score), alias scorePUT /nodes/{nid}/edges/{eid}
update_edge(nid, eid, score)PATCH /nodes/{nid}/edges/{eid}
delete_edge(nid, eid)DELETE /nodes/{nid}/edges/{eid}

Ids are 16-character hex strings. A method also takes the Node or Edge itself. Errors are Unauthorized (401), Forbidden (403: the grid holds its node limit, or is frozen), NotFound (404), Conflict (409, the key is taken), Invalid (422) and TooManyRequests (429: too many grids created from your address; try later), all subclasses of DNAError.

MCP server

hashgrid-mcp is a local MCP server, over stdio, for agents that work with text and images. It embeds on your machine, sends DNA only the vectors, and keeps the content in the local index.

{

"mcpServers": { "hashgrid": { "command": "uvx", "args": ["--from", "hashgrid[local]", "hashgrid-mcp"], "env": { "HASHGRID_API_KEY": "hg-…" } } } }

With Claude Code:

claude mcp add hashgrid -e HASHGRID_API_KEY=hg-… -- uvx --from 'hashgrid[local]' hashgrid-mcp

Without a key, the agent can call create_grid: the server makes a grid and saves its key in the local index, then uses it from then on.

The tools:

  • add_item(text | image, key?): add an item, text or the path of an image file.
  • search(query | image, k, prefix): the best results, with their text or image path.
  • more_results(query_id, k, prefix): the next ones.
  • score(query_id, item_id, score): score a result.
  • delete_item(item_id): delete an item.
  • create_grid(name): make a grid when the server has no key.
  • delete_grid(confirm): delete the grid, for good; confirm is its name.

The first call downloads the local model, about 70 MB. For images, set HASHGRID_EMBEDDER=fastembed:Qdrant/clip-ViT-B-32.

variabledefault
HASHGRID_API_KEYthe key create_grid saved in the index
HASHGRID_EMBEDDERfastembed:BAAI/bge-small-en-v1.5; with openai:… or voyage:…, plain uvx --from hashgrid hashgrid-mcp is enough
HASHGRID_INDEX~/.hashgrid/index.sqlite
HASHGRID_DNA_URLhttps://dna.hashgrid.ai/api/v1

The server records each grid's embedder in the index, and refuses another one for that grid.

The hosted server at https://dna.hashgrid.ai/mcp takes vectors, not content. Use it if your agent makes its own embeddings.

License

MIT

ถาม PopNx