Transform PDF documents into structured knowledge graphs with citation provenance
Project description
MalimGraph (v0.2.0)
███╗ ███╗ █████╗ ██╗ ██╗███╗ ███╗ ██████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗
████╗ ████║██╔══██╗██║ ██║████╗ ████║██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██║ ██║
██╔████╔██║███████║██║ ██║██╔████╔██║██║ ███╗██████╔╝███████║██████╔╝███████║
██║╚██╔╝██║██╔══██║██║ ██║██║╚██╔╝██║██║ ██║██╔══██╗██╔══██║██╔═══╝ ██╔══██║
██║ ╚═╝ ██║██║ ██║███████╗██║██║ ╚═╝ ██║╚██████╔╝██║ ██║██║ ██║██║ ██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
From documents to interactive knowledge discovery.
MalimGraph is an agentic knowledge graph engine for Claude Code and Claude Desktop.
Extract entities, build graphs, and visualize discovery maps — all orchestrated by Claude
using its own intelligence. No ANTHROPIC_API_KEY required.
🚀 Claude Code Integration (Native)
MalimGraph v0.2.0 is a first-class plugin for Claude Code. It features auto-discovery and a native orchestration command.
Installation
pip install malimgraph
claude mcp add malimgraph -- malimgraph-plugin
The /kg Command
Initialize a full discovery workflow by typing /kg in your Claude terminal:
- Extract: Parses PDF text via
read_pdf. - Analyze: Claude identifies entities and relationships with verbatim evidence.
- Build: Generates a standard Knowledge Graph (
.json,.cypher,.sql). - Visualize: Launches the Premium Visual Discovery Map immediately.
🎨 Visual Discovery Suite
Explore your data through high-fidelity, interactive browser visualizations.
1. Premium Visualizer (vis.js) — Recommended
A robust, self-contained explorer with a pitch-black neon aesthetic.
python skills/graph-visualizer/scripts/visualize_graph.py --input output/knowledge_graph.json
- Robust Mapping: Reliable handling of
id,label, and relationship IDs. - Physics-Powered: ForceAtlas2 layout for optimal spatial clarity.
- Detail Inspector: Click nodes to see verbatim citations and confidence.
2. High-Performance Explorer (Sigma.js)
WebGL-powered rendering for exceptionally large graphs (thousands of nodes).
python skills/graph-visualizer-sigma/scripts/visualize_sigma.py --input output/knowledge_graph.json
🕸️ Skill Triggers
MalimGraph provides specialized agentic skills. Trigger them via natural language:
| Trigger Phrase | Workflow | Target |
|---|---|---|
| "knowledge graph" | $pdf-to-graph |
JSON/Cypher/SQL export |
| "visualise graph" | visual-discovery |
Premium vis.js explorer |
| "chunk for RAG" | $pdf-to-rag |
pgvector/embeddings |
| "load into Neo4j" | neo4j-local |
Local database instance |
🛠️ Tools & Capabilities
read_pdf: PDF → text + rule-extracted metadata.save_knowledge_graph: Stable CID-based graph construction.chunk_document: Token-aware overlapping chunks for RAG.manage_graph_db: Load and query Neo4j or PostgreSQL (Apache AGE).embed_and_store_chunks: Native pgvector integration.
☁️ Cloud & Vercel
Deploy MalimGraph as a serverless MCP endpoint on Vercel:
https://mcpserver.malim.my/mcp (Streamable HTTP)
Credits
Built by Malim AI Labs — AI-powered knowledge infrastructure. MIT License © 2026.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file malimgraph-0.2.0.tar.gz.
File metadata
- Download URL: malimgraph-0.2.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a5b2fcaaf3890ee061eace2115f23b91cd8d6c8f31e84bd48cabfcbf26985f5
|
|
| MD5 |
af0faa25ba2f7aeeb71859934a88d09c
|
|
| BLAKE2b-256 |
60495b51328660790b9f963312a76a3e32b530151a46d89e900a324da7722b56
|
Provenance
The following attestation bundles were made for malimgraph-0.2.0.tar.gz:
Publisher:
publish.yml on malim-ai-labs/malim-graph-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
malimgraph-0.2.0.tar.gz -
Subject digest:
2a5b2fcaaf3890ee061eace2115f23b91cd8d6c8f31e84bd48cabfcbf26985f5 - Sigstore transparency entry: 1467889275
- Sigstore integration time:
-
Permalink:
malim-ai-labs/malim-graph-plugin@9fd2a3590060c0e57a013442b7fefdc6e9c68e70 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/malim-ai-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9fd2a3590060c0e57a013442b7fefdc6e9c68e70 -
Trigger Event:
push
-
Statement type:
File details
Details for the file malimgraph-0.2.0-py3-none-any.whl.
File metadata
- Download URL: malimgraph-0.2.0-py3-none-any.whl
- Upload date:
- Size: 47.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7bb6d2b4a48017b3551651f47034a8debd6e9458bf3e2213142ed7d1dc477f7
|
|
| MD5 |
accd987b8a11c42b09b35d3b10f8890d
|
|
| BLAKE2b-256 |
dd35fdd94c0868b4553ff7153f8cb651612885efdd4ab9c89ca962f9427da2e4
|
Provenance
The following attestation bundles were made for malimgraph-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on malim-ai-labs/malim-graph-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
malimgraph-0.2.0-py3-none-any.whl -
Subject digest:
a7bb6d2b4a48017b3551651f47034a8debd6e9458bf3e2213142ed7d1dc477f7 - Sigstore transparency entry: 1467889394
- Sigstore integration time:
-
Permalink:
malim-ai-labs/malim-graph-plugin@9fd2a3590060c0e57a013442b7fefdc6e9c68e70 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/malim-ai-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9fd2a3590060c0e57a013442b7fefdc6e9c68e70 -
Trigger Event:
push
-
Statement type: