LL

litegraphdb/litegraph

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

134 stars 12 forks 质量 68 趋势 14

litegraphdb/litegraph 是一个从 https://github.com/litegraphdb/litegraph. 导入的 MCP 候选服务器

概览

litegraphdb/litegraph 是一个从 https://github.com/litegraphdb/litegraph. 导入的 MCP 候选服务器

概述(AI 翻译)

当前发行:v10.2.0。

LiteGraph 是一个属性图数据库,适用于需要在一个持久层中包含图关系、标签、JSON 数据和矢量搜索的应用。它可以嵌入在带有 LiteGraphClient 的 .NET 进程中,作为独立的 REST 服务器运行,通过官方 SDK 使用,通过仪表盘管理,或由 AI 代理通过模型上下文协议(MCP)控制。

v7.0.0 事务扩展工作现已合并到 main。历史规划材料位于 archive/ 下;仓库根文件描述当前主线版本。

包含了什么

  • 核心.NET图库,针对net8.0和net10.0,兼容原生AOT和裁剪
  • 每个可执行文件(REST服务器、MCP服务器、lg控制台、加载生成器)都运行在.NET运行时或作为原生AOT可执行文件,行为完全相同
  • SQLite 提供嵌入式、本地和测试用途,并可通过 HnswLite 进行 HNSW 向量索引
  • 带有 pgvector 的 PostgreSQL 生产服务提供者,包括多节点集群,支持负载均衡器
  • 原生LiteGraph图查询语言,用于读取、遍历、向量搜索和图变变

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

LiteGraph

Current release: v10.2.0.

LiteGraph is a property graph database for applications that need graph relationships, tags, labels, JSON data, and vector search in one persistence layer. It can be embedded in a .NET process with LiteGraphClient, run as a standalone REST server, used through official SDKs, managed through the dashboard, or controlled by AI agents through the Model Context Protocol (MCP).

The v7.0.0 transaction-scaling work is now merged into main. Historical planning material lives under archive/; the files in the repository root describe the current mainline release.

What Is Included

  • Core .NET graph library targeting net8.0 and net10.0, compatible with Native AOT and trimming
  • Every executable (REST server, MCP server, lg console, load generator) runs on the .NET runtime or as a Native AOT executable, with identical behavior
  • SQLite provider for embedded, local, and test use, with in-process HNSW vector indexing through HnswLite
  • PostgreSQL provider with pgvector for production, including multi-node clusters behind a load balancer
  • Native LiteGraph graph query language for reads, traversals, vector search, and graph mutations
  • Graph algorithms (centrality, PageRank, connected components, community detection) with write-back and a rustworkx/NetworkX export-compute-import path
  • Graph-scoped transactions for nodes, edges, labels, tags, and vectors
  • Vector search: pgvector HNSW in the database on PostgreSQL, HnswLite 2.1.0 in process on SQLite
  • REST server with bearer-token authentication, request history, RBAC, and OpenAPI/Postman assets
  • LLM chat over graph data with five provider types, SSE streaming, an in-process graph tool loop, and vector retrieval
  • MCP server with HTTP, TCP, and WebSocket transports
  • Next.js/React dashboard
  • Official C#, Python, and JavaScript SDKs
  • Docker Compose deployments for a single node on SQLite, a single node on PostgreSQL, and a multi-node cluster, each with MCP, the dashboard, Prometheus, Loki, and Grafana OSS

Screenshots

Chat with your graph — natural-language questions answered through graph tool calls, streamed as markdown, with per-turn statistics, a model selector, and a streaming toggle:

The home page: tenant KPIs, quick actions, and an interactive graph workspace with node inspection:

Node and vector editing — labels, tags, vectors, and JSON data in one editor:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "litegraph": { "type": "http", "url": "http://127.0.0.1:8702/mcp" } } }