Hashgrid DNA (local) MCP server
ai.hashgrid/sdk·v1.3.0·4 starsSearch that learns from feedback, over text and images: embeds locally, sends DNA only vectors.
4 stars327 downloads/wk
Reviews
Write oneNobody has reviewed Hashgrid DNA (local) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Hashgrid DNA (local) tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-24 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 1 days ago15/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year; website matches verified namespace8/10
How Hashgrid DNA (local) compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 70% of 3,470 Web search servers
- GitHub stars
- 4
- more than 75% of 1,786 Web search servers
- Downloads a week
- 327
- more than 79% of 827 Web search servers with a package
Release history: 2 versions in the registry since 2026-10-19, latest 2026-10-24, typically one every 4 days.
Install Hashgrid DNA (local) in Claude Code, Cursor or VS Code
claude mcp add sdk -- uvx hashgrid
What the publisher says
From the Hashgrid DNA (local) repository's README, as published. We do not edit it. Read it on GitHub
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.
<!-- mcp-name: ai.hashgrid/sdk -->
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_KEYA grid created this way holds up to 1024 items and queries (grid.dna.getgrid().maxnodes), 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 onenarrows 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.
- Items have a key, a path unique in the grid. Only items are found by searches, and prefix
is good or bad. Only scores train DNA.
- 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
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 imagesThe 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; $HASHGRIDEMBEDDER and $HASHGRIDINDEX 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 nothingUse 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.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Hashgrid DNA (local): common questions
- Is Hashgrid DNA (local) MCP server safe?
- Mostly: it is graded B (83/100). Read the Hashgrid DNA (local) safety report
- How do I install Hashgrid DNA (local)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Hashgrid DNA (local) need an API key?
- Yes. The registry entry asks for
HASHGRID_API_KEY,OPENAI_API_KEY,VOYAGE_API_KEY. - Is Hashgrid DNA (local) maintained?
- The last commit was 12 days ago (2026-10-23). The latest release is v1.3.0.
- What can I use instead of Hashgrid DNA (local)?
- Servers from other publishers that do the same job: Arxiv MCP server, Brave Search MCP server and Pubmed MCP server.
- How does Hashgrid DNA (local) compare with other Web search MCP servers?
- safety score 83/100 (higher than 70% of 3,470 Web search servers); github stars 4 (more than 75% of 1,786 Web search servers); downloads a week 327 (more than 79% of 827 Web search servers with a package). Full comparison.
Alternatives to Hashgrid DNA (local)
Same job from other publishers: the closest match first, then the best rated.
- ArxivSearch arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.not reviewedWidely usedA
- Brave SearchBrave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.not reviewedEstablishedA
- PubmedSearch PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.not reviewedEstablishedA
- obseiSelf-hosted customer feedback with PII stripped at ingest: search, stats and themes with citations.not reviewedEstablishedA
- MisakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.not reviewedEstablishedA