Hashgrid DNA

ai.hashgrid由 hashgrid.ai 發布官方發布者v1.2.0更新於 Nov 7, 2026

A search engine that learns from your grades. Store text, records, images or embeddings.

已驗證Streamable HTTP可網頁執行資料庫知識與記憶

概覽

AI 產生的概覽

一個遠端儲存文字、記錄、圖片與嵌入向量的檢索服務,結果會隨評分逐步改善,並以網格、項目、查詢與評分工具提供給助理。

可以做什麼
  • 建立、檢視與刪除網格,也就是由金鑰界定的儲存空間
  • 依路徑式鍵寫入、讀取、列出與刪除項目,內容可為文字、JSON 記錄、圖片或嵌入向量
  • 建立、讀取與刪除已儲存的查詢
  • 取得查詢的排序結果,可依鍵前綴限縮範圍
  • 記錄、讀取、列出與刪除 -1 到 1 的評分,用來訓練排序
適用情境
適合需要小型持久語料庫、能進行語意檢索並透過為結果評分逐步調校的情境,而非固定索引。適用於原型,以及重視回饋驅動排序的個人或團隊知識庫。
執行需求
遠端 streamable HTTP 端點,無需本機安裝。需要 API 金鑰,透過 Authorization 標頭以 Bearer hg-… 形式傳送,或作為各工具的 api_key 參數帶入;可用 create_grid 建立金鑰。需要能連線至服務商端點。
安裝前請注意
API 金鑰屬於機密,create_grid 只回傳一次,須立即保存。工具會寫入、取代與刪除項目、查詢及評分,delete_grid 會清空整個網格並使其金鑰失效。透過工具建立的網格上限為 1024 個項目(含查詢),每個位址只能建立少量網格。儲存內容由第三方服務保管。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Hashgrid DNA,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.hashgrid%2Fdna/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "hashgrid-dna": {
      "type": "http",
      "url": "https://dna.hashgrid.ai/mcp"
    }
  }
}

工具

15

create_grid

POST /: create a grid, your own store of items; no API key needed. Returns its `api_key`, shown only now: pass it as `api_key` to every other tool, or send it as the header `Authorization: Bearer hg-…`. It holds up to `max_items` items, queries included. Each address may create only a few grids a day.

輸入參數name

get_grid

GET /: the grid the API key opens: its name and its limit on items, `max_items` (queries included; null: no limit).

輸入參數api_key

delete_grid

DELETE /: delete the grid and everything in it, items, queries and grades; its key stops working.

輸入參數api_key

put_item

PUT /items/key: write the item at `key` (e.g. "42", no leading /), creating it or replacing its content. Text is a string and a record a JSON object, each up to 8 KB; an image its bytes as base64, kept as a WebP of at most 512 px (its width and height come back); an emb a list of floats from the grid's model. DNA embeds the rest itself and keeps it only to embed it again; results and listings never return it. `type` is one of text/plain, application/json, image/png, image/jpeg, image/webp, image/gif, application/vnd.hashgrid.emb+json; leave it out for text, a record or an emb, which DNA tells apart, not for an image. Group items under a prefix (e.g. "tools/42") to search groups apart. Returns the item: its key, type, size, etag, ctime and mtime.

輸入參數key必填typeapi_keycontent必填

get_item

GET /items/key: the item at `key`, with its `content` as put_item takes it.

輸入參數key必填api_key

delete_item

DELETE /items/key: delete the item at `key`, and every grade of it.

輸入參數key必填api_key

list_items

GET /items?prefix=: `items`, those whose keys start with `prefix` (e.g. "tools/"; all by default), in key order, without their content (get_item reads one), at most `limit` (1 to 100, 32 by default). `next`: for the next page, pass it as `after` (null: this was the last).

輸入參數afterlimitprefixapi_key

create_query

POST /queries: store a question to ask of the items, its content as put_item takes it. Returns its `id`, which the other query tools take. Its results are ready at once; ask again with the same `id` rather than creating the same query twice, so its grades add up.

輸入參數typeapi_keycontent必填

get_query

GET /queries/id: the query `id`, with its `content` as create_query takes it.

輸入參數id必填api_key

delete_query

DELETE /queries/id: delete the query `id` and its grades.

輸入參數id必填api_key

get_results

GET /queries/id/results: `results`, the query's best items under any of `prefixes` (e.g. ["tools/"]; all items by default), best first, each with its `score`, DNA's estimate of the grade you would give it (on the grades' scale once the grid has some; before, only the order means anything), as list_items shows it, without content. `ungraded`: leave out the items you already graded for this query. Grade what you judged with put_grade: the results learn from it within a few seconds.

輸入參數id必填limitapi_keyprefixesungraded

put_grade

PUT /queries/id/grades/key: grade the item at `key` (as get_results returns it, e.g. "42") for the query `id`. `score` is from -1 (wrong) to 1 (right), anything between for partly right; it trains DNA and replaces the grade before. Grade the results you judged, typically the first few.

輸入參數id必填key必填score必填api_key

get_grade

GET /queries/id/grades/key: the query's grade of the item at `key`.

輸入參數id必填key必填api_key

delete_grade

DELETE /queries/id/grades/key: forget the query's grade of the item at `key`.

輸入參數id必填key必填api_key

list_grades

GET /queries/id/grades: `grades`, the query's grades, {"key", "score"}, in path order.

輸入參數id必填api_key

版本歷史

2
  1. v1.2.0最新Nov 7, 2026
  2. v1.1.0Oct 19, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Hashgrid 整合