Graforest MCP Server — Build, populate, and query Knowledge Graphs with AI. 13 tools for knowledge ingestion, search, traversal, and graph management.
Project description
Graforest MCP
Knowledge graph tools for AI agents. Store, search, and explore knowledge graphs through the Model Context Protocol.
Quick Start
# Install
pip install graforest-mcp
# Or run directly with uvx
uvx graforest-mcp
Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
GRAFOREST_API_KEY |
Yes | Your Graforest API key (gf_sk_...) |
TRANSPORT |
No | stdio (default) or http |
PORT |
No | HTTP port (default: 8000) |
HOST |
No | HTTP host (default: 0.0.0.0) |
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"graforest": {
"command": "uvx",
"args": ["graforest-mcp"],
"env": {
"GRAFOREST_API_KEY": "gf_sk_your_key_here"
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"graforest": {
"command": "uvx",
"args": ["graforest-mcp"],
"env": {
"GRAFOREST_API_KEY": "gf_sk_your_key_here"
}
}
}
}
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"graforest": {
"command": "uvx",
"args": ["graforest-mcp"],
"env": {
"GRAFOREST_API_KEY": "gf_sk_your_key_here"
}
}
}
}
Smithery
npx @smithery/cli install @graforest/mcp
Tools (13)
Provisioning (3)
| Tool | Description |
|---|---|
create_knowledge_project |
Provision a new knowledge graph |
list_knowledge_projects |
List all graph projects |
delete_knowledge_project |
Delete a graph project |
Data Write (2)
| Tool | Description |
|---|---|
add_knowledge_nodes |
Bulk create entities |
add_knowledge_relationships |
Bulk create relationships |
Data Read (6)
| Tool | Description |
|---|---|
search_knowledge_graph |
Full-text search across nodes |
get_knowledge_schema |
Get entity/relationship types |
get_knowledge_statistics |
Node/relationship counts |
traverse_knowledge_graph |
Walk connections from a node |
list_knowledge_entities |
List entities by type |
get_knowledge_entity |
Get a single entity |
Ingestion (1)
| Tool | Description |
|---|---|
ingest_text_content |
Prepare text for 3-call extraction workflow |
Utility (1)
| Tool | Description |
|---|---|
fetch_url_content |
Scrape URL for clean text |
3-Call Ingestion Workflow
The recommended way to populate a knowledge graph:
ingest_text_content(project_code, text)→ Returns schema + extraction instructions- LLM extracts ALL entities and relationships from the text
add_knowledge_nodes(project_code, entities)→ Bulk create all nodesadd_knowledge_relationships(project_code, relationships)→ Bulk create all edges
Architecture
AI Agent → graforest-mcp → Graph APIs (Neo4j)
→ RationalBloks API (infrastructure provisioning)
- NO AI inside — the LLM is the intelligence, Graforest is the data layer
- Dual transport: STDIO (local) + HTTP (cloud deployment)
- API key authentication (
gf_sk_prefix)
Resources
- Getting Started Guide:
graforest://docs/getting-started - Knowledge Graph Guide:
graforest://docs/knowledge-graph
Prompts
ingest-content: Guided content ingestion workflowexplore-graph: Guided graph exploration workflow
License
Proprietary — see LICENSE for details.
Links
- Website: graforest.ai
- Documentation: graforest.ai/docs
- GitHub: github.com/velosovictor/graforest-mcp
Project details
Release history Release notifications | RSS feed
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 graforest_mcp-0.1.0.tar.gz.
File metadata
- Download URL: graforest_mcp-0.1.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a562f2523a7ece1060f2740349b8dddd95c6b75a92d5c0ae691d4cd0337fb7ed
|
|
| MD5 |
11729e8426a9931d3019b3a05c048915
|
|
| BLAKE2b-256 |
405ba4f6a22dde9f83592e669c98b56648ef1b567425786ea33eb10ee956ec6d
|
File details
Details for the file graforest_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: graforest_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5ee3c8fd48450a470dba78d674e65bcf186f9ec6ff6136fddf77e16c705675
|
|
| MD5 |
94397f639a66bbb6ab66d3d8a9b89e88
|
|
| BLAKE2b-256 |
8f1f29df110c01048e97a2dd4256c3f69c4d2a020e53fa340e099720d470fd8b
|