by samyama-ai
Rust graph-vector database: OpenCypher (99.9% of evaluated TCK scenarios pass), vector search, graph algorithms, RESP + HTTP. LDBC SNB Interactive and BI complete; 1B edges on one machine.
# Add to your Claude Code skills
git clone https://github.com/samyama-ai/samyama-graphGuides for using mcp servers skills like samyama-graph.
Last scanned: 7/27/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-07-27T07:30:42.718Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how samyama-graph compares with popular alternatives.
samyama-graph is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by samyama-ai. Rust graph-vector database: OpenCypher (99.9% of evaluated TCK scenarios pass), vector search, graph algorithms, RESP + HTTP. LDBC SNB Interactive and BI complete; 1B edges on one machine. It has 185 GitHub stars.
Yes. samyama-graph passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/samyama-ai/samyama-graph" and add it to your Claude Code skills directory (see the Installation section above).
samyama-graph is primarily written in Rust. It is open-source under samyama-ai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh samyama-graph against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
30 days in the Featured rail · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Samyama Graph is a Rust-native graph-vector database that lets developers store, query, search, and analyze connected data in one system.
It brings together graph traversal, OpenCypher-style querying, vector search, graph algorithms, and Redis-compatible access, making it useful for GraphRAG, knowledge graphs, AI agent memory, and large-scale relationship analytics.
Pulling the image needs no registry account: it is public on GitHub Container
Registry. latest is the newest release; pin a version such as :1.12.0 for a
reproducible setup.
Step 1 — Write docker-compose.yml in an empty folder:
services:
samyama-graph:
image: ghcr.io/samyama-ai/samyama-graph:latest
container_name: samyama-graph
restart: unless-stopped
ports:
- "6379:6379" # RESP (Redis protocol)
- "8080:8080" # HTTP API
environment:
# Lets the hosted visualizer (Step 4) call this server from your browser.
SAMYAMA_CORS_ORIGINS: https://graph.samyama.cloud
volumes:
- samyama-data:/app/samyama_data
volumes:
samyama-data:
Step 2 — Start it
docker compose up -d
docker logs -f samyama-graph # Ctrl-C to stop following the log
Step 3 — Run your first query
curl -X POST http://localhost:8080/api/query \
-H 'content-type: application/json' \
-d '{"query":"CREATE (a:Person {name: \"Alice\"})-[:KNOWS]->(b:Person {name: \"Bob\"}) RETURN a.name, b.name","graph":"default"}'
{"columns":["a.name","b.name"],"edges":[],"nodes":[],"records":[["Alice","Bob"]]}
Runtime values go in params, never in the query text — they are bound, so a
value is never re-read as Cypher:
curl -X POST http://localhost:8080/api/query \
-H 'content-type: application/json' \
-d '{"query":"MATCH (p:Person) WHERE p.name = $name RETURN p.name","params":{"name":"Alice"}}'
Step 4 — Explore it visually (optional). Open the hosted visualizer at
https://graph.samyama.cloud/. The engine itself needs no account, but the
visualizer asks you to sign up or sign in. Then click Home, enter
http://localhost:8080 and click Connect. Without the SAMYAMA_CORS_ORIGINS
line from Step 1 the browser refuses the call — deliberately, because
/api/query runs arbitrary Cypher including DELETE
(#1328).
Step 5 — Stop or reset
docker compose down # stop
docker compose down -v # stop and delete all graph data in the volume
The server needs no credential by default. To require a bearer token, serve TLS, or enable auto-embedding, see docs/DATA-HANDLING.md. To load a real dataset, pick one from the case studies.
zstd-sys generates its bindings with bindgen, which needs libclang; without it
the build fails part-way with a misleading 'stddef.h' file not found.
# Debian / Ubuntu
sudo apt-get install -y build-essential cmake pkg-config libssl-dev clang libclang-dev
# Fedora / RHEL
sudo dnf install -y gcc gcc-c++ cmake pkgconf-pkg-config openssl-devel clang clang-devel
# macOS — the Xcode Command Line Tools already provide clang
xcode-select --install
Then, with a stable Rust toolchain from rustup:
git clone https://github.com/samyama-ai/samyama-graph && cd samyama-graph
cargo build --release
./target/release/samyama # RESP on :6379, HTTP on :8080
# Connect with any Redis client
redis-cli -p 6379
GRAPH.QUERY mydb "CREATE (a:Person {name: 'Alice'})-[:KNOWS]->(b:Person {name: 'Bob'})"
GRAPH.QUERY mydb "MATCH (a)-[:KNOWS]->(b) RETURN a.name, b.name"
| Language | Install | Connect |
|---|---|---|
| Python | pip install samyama |
SamyamaClient.connect("http://localhost:8080"), or SamyamaClient.embedded() to run the engine in-process |
| TypeScript | npm install samyama-sdk |
SamyamaClient.connectHttp("http://localhost:8080") (ESM, Node 18+) |
| Rust | samyama-sdk = { git = "https://github.com/samyama-ai/samyama-graph", tag = "v1.12.0" } — not on crates.io yet |
RemoteClient over HTTP, or EmbeddedClient::new() in-process |
Any Redis client also works over RESP on port 6379. Details: Python · TypeScript · Rust.
We loaded the entire PubMed corpus plus ClinicalTrials.gov, Reactome pathways, and DrugBank into one graph, then asked "What drugs are most tested in cancer clinical trials?"
MATCH (m:MeSHTerm)<-[:ANNOTATED_WITH]-(a:Article)
-[:REFERENCED_IN]->(t:ClinicalTrial)-[:TESTS]->(i:Intervention)
WHERE m.name = 'Neoplasms'
RETURN i.name, count(DISTINCT t) AS trials
ORDER BY trials DESC LIMIT 5
| Drug | Trials |
|---|---|
| Placebo | 521 |
| Pembrolizumab | 137 |
| Carboplatin | 106 |
| Paclitaxel | 106 |
| Cyclophosphamide | 98 |
10.3 seconds. One query. Four databases. 74 million nodes. 1 billion edges. A single machine.
That is query XK02 in
verified-results.csv:
10,250.2 ms, measured 2026-04-02 on one r6a.8xlarge and not re-measured since.
Provenance of each row is in docs/BENCHMARKS.md.
See all 100 benchmark queries →
Cricket KG — 36K nodes, 1.4M edges, live graph simulation
Click for the full demo (1:56).
case_studies/ downloads a real public knowledge graph, imports
it, runs showcase Cypher, and renders the session as a narrated GIF — one
command. Every showcase query is gated to return real rows
(Definition of Done).
cargo build --release && pip install rich requests
cd case_studies/cricket && ./run.sh # fetch snapshot → import → validate → demo
| Domain | Scale (nodes / edges) | Highlight |
|---|---|---|
| cricket | 37K / 1.4M | dismissal-rivalry networks, venues, awards |
| drug-interactions | 245K / 388K | polypharmacy shared-target risk, CYP hubs |
| pathways | 119K / 835K | protein hubs (TP53), pathway crosstalk |
| dbms-research | 19K · 2 HNSW | vector search — semantic "nearest topics" |
| imdb-movies | 1.94M / 2.63M | top-rated films, director–actor pairs, genre trends |
Plus surveillance, health-determinants, health-systems and football — browse the catalogue →
| What | How |
|---|---|
| 74M nodes, 1B edges | PubMed + ClinicalTrials.gov + Reactome + DrugBank on one r6a.8xlarge |
| 96 of 100 queries return real data | Point lookups, multi-hop traversals and cross-KG aggregations, measured 2026-04-02 on one r6a.8xlarge and not re-measured since — all 100 queries |
| Four algorithms scale with cores | PageRank, LCC, CDLP and triangle counting are Rayon-parallel; WCC, betweenness and closeness run on one thread (CH-ALGO-PARALLEL, ALGO-09) |
| LDBC suites run in-tree | SNB Interactive 21/21 and SNB BI 20/20 at SF1, no timeouts; Graphalytics 12/12 against the LDBC reference answers |
| 200 resident bytes per edge | Measured on LDBC SNB SF10 (176M edges) by CH-MEM-01, against a 256 B/edge target |
| Transactions with a published isolation table | BEGIN / COMMIT / ROLLBACK over RESP and HTTP — docs/ACID-GUARANTEES.md |
| Every headline number re-measured on a schedule | A conformance harness publishes SCORECARD.json, and a regression gate blocks the release tag on a stale or red verdict |
Cypher — MATCH, CREATE, MERGE, aggregations, pa