
samyama-graph
by samyama-ai·★ 62·Score 48
High-performance graph-vector database with MCP server support for natural language queries over knowledge graphs.
Overview
Samyama is a Rust-based graph-vector database that can handle massive datasets (up to 74M nodes and 1B edges on a single machine). It implements the OpenCypher query language and provides both Redis protocol support and HTTP endpoints. The project includes a dedicated MCP server that allows AI agents to query knowledge graphs through natural language. Samyama demonstrates impressive performance benchmarks, including querying 1 billion edges for just $2.50. Its MCP integration is particularly notable as it can automatically generate MCP servers from graph schemas, enabling instant AI agent capabilities for any graph dataset.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose Samyama when working with massive graph datasets (1B+ edges) that need both traditional graph operations and vector search, particularly in biomedical research or enterprise knowledge management.
When NOT to choose this
Avoid Samyama if you need a mature cloud-hosted solution with enterprise-grade security features, as it's a self-hosted system with limited multi-tenant access controls and auditing.
Tools this server exposes
12 tools extracted from the READMEquery_graphExecute OpenCypher queries on the graph database
run_graph_algorithmExecute graph algorithms like PageRank or community detection
vector_searchPerform semantic search using vector embeddings
load_graph_dataLoad domain-specific knowledge graphs into the database
analyze_biomedical_dataQuery biomedical knowledge graphs for research insights
natural_language_queryConvert natural language questions to Cypher queries
create_vector_indexCreate vector indexes for semantic search capabilities
execute_algorithmRun specific graph algorithms on the database
analyze_fraud_patternsDetect fraud patterns in banking and financial networks
analyze_supply_chainAnalyze supply chain networks for disruptions and optimization
analyze_clinical_trialsQuery clinical trial data for research insights
analyze_manufacturingAnalyze manufacturing networks for digital twins and failure prediction
Note: Tools were inferred from the README's documentation of capabilities and examples. While there's no explicit 'Tools' section, the README demonstrates various functions through examples and feature descriptions. The tools represent the main f
Comparable tools
Installation
# Install Samyama
git clone https://github.com/samyama-ai/samyama-graph && cd samyama-graph
cargo build --release
./target/release/samyama # Starts RESP on :6379 and HTTP on :8080
# Install the MCP server
pip install samyama[mcp]
# Start an MCP server with demo data
samyama-mcp-serve --demo cricketFor Claude Desktop integration:
{
"mcpServers": {
"samyama": {
"command": "python",
"args": ["-m", "samyama.mcp"],
"env": {}
}
}
}FAQ
- What query languages does Samyama support?
- Samyama supports OpenCypher queries (~90% compatibility), along with a vector search API using Cypher extensions. It also accepts natural language queries that are translated to Cypher.
- Can Samyama handle multi-domain knowledge graphs?
- Yes, Samyama has loaded and queried multiple interconnected knowledge graphs including PubMed, ClinicalTrials.gov, Reactome, and DrugBank simultaneously on a single machine.
- How does the MCP server integration work?
- Samyama provides a 'samyama-mcp-serve' command that generates MCP server tools from your graph schema, enabling AI agents to query the database without requiring custom tool definitions.
Compare samyama-graph with
Last updated · Auto-generated from public README + GitHub signals.