modelscope·@libragen/libragen
暂无描述。
Create private, local RAG libraries that ground your AI in real documentationnot 2-year-old training data. No cloud, no API keys, just single files you can share with your whole team.
What's RAG? Retrieval-Augmented Generation lets AI retrieve relevant context before responding, instead of relying solely on training data. libragen packages your docs into searchable libraries your AI can query.
.libragen files work anywhere. Share via git, S3, or install from curated collections| Package | Description |
|---|---|
@libragen/core | Core library for embedding, chunking, storage |
@libragen/cli | Command-line interface for building and querying |
@libragen/mcp | Model Context Protocol server for AI assistants |
npm install -g @libragen/cli
# From your internal docs
libragen build ./internal-api-docs --name internal-api
# From a private git repository
libragen build https://github.com/your-org/private-docs -o company-docs.libragen
# From any public repo
libragen build https://github.com/facebook/react -o react.libragen
libragen query "how to authenticate users" -l my-project.libragen
Install the MCP server globally:
npm install -g @libragen/mcp
Add to your Claude Desktop config (on macOS:
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"libragen": {
"command": "npx",
"args": ["-y", "@libragen/mcp"]
}
}
}
Then install libraries to make them available:
libragen install my-project.libragen
| Command | Description |
|---|---|
build <source> | Build a library from files or git repo |
query <query> | Search a library for relevant content |
info <library> | Display library metadata |
list | List installed libraries and collections |
install <source> | Install a library or collection |
uninstall <name> | Remove an installed library or collection |
update [name] | Update installed libraries to newer versions |
collection create | Create a collection file |
config | Display configuration and paths |
completions <action> | Manage shell completions (bash, zsh, fish) |
Collections are JSON files that group libraries together for easy installation:
{
"name": "my-stack",
"description": "Libraries for my project",
"version": "1.0.0",
"items": [
{ "library": "https://example.com/react.libragen" },
{ "library": "https://example.com/typescript.libragen" },
{ "library": "https://example.com/testing.libragen", "required": false },
{ "collection": "https://example.com/base-web.json" }
]
}
Create a collection:
# Initialize a template
libragen collection init my-stack.json
# Or create with libraries directly
libragen collection create my-stack.json \
-l ./react.libragen \
-l ./typescript.libragen \
-o ./testing.libragen
Install a collection:
libragen install ./my-stack.json # Required libraries only
libragen install ./my-stack.json --all # Include optional libraries
Collections support:
"required": falseBy default, libragen stores libraries and configuration in a platform-specific directory:
| Platform | Default Location …
暂无描述。
暂无描述。
一种模型上下文协议服务器,它将Wireshark的网络分析能力与Claude等人工智能系统集成在一起,允许在无需手动复制的情况下直接分析网络数据包。
通过SearchAPI.site将AI助手连接到外部数据源(如Google、Bing等),并通过模型上下文协议(MCP)实现对网络信息的安全和上下文访问。
暂无描述。
暂无描述。