MCP DocGraph
MCP DocGraph
MCP server for building knowledge graphs from documents.
Ingest PDF/PPTX/DOCX files, transcribe to Markdown, bootstrap domain-specific entity patterns via LLM, and build a JSONL knowledge graph with RAG chunks — all configurable per project.
Quick Start
pipx install .Add to your MCP client config:
{
"mcpServers": {
"docgraph": {
"command": "python",
"args": ["-m", "mcp_docgraph.server"]
}
}
}Set LLM credentials:
export DOCGRAPH_LLM_API_KEY="your-key"
export DOCGRAPH_LLM_PROVIDER="anthropic" # or "openai"Tools
Tool | Description |
| Transcribe PDF/PPTX/DOCX → Markdown |
| LLM proposes entity patterns from docs |
| Build knowledge graph + RAG chunks |
| Query graph, get LLM-synthesized answer |
| Check graph integrity |
Workflow
Place documents in a folder
ingest_files→ transcribed Markdownbootstrap_config→ proposedconfig.yaml(review, edit if needed)build_graph→ JSONL nodes, edges, chunksvalidate_graph→ check integrityquery_graph→ ask questions
Design Spec
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamestomasino/mcp-docgraph'
If you have feedback or need assistance with the MCP directory API, please join our Discord server