MCP server for the Link personal knowledge wiki — search, context, and graph traversal
Project description
link-mcp
MCP server for the Link personal knowledge wiki. Exposes your wiki as MCP tools — search, query context, and traverse the knowledge graph without reading files directly.
Listed on the official MCP Registry as io.github.gowtham0992/link.
Install
pip install link-mcp
Quick setup (Kiro)
git clone https://github.com/gowtham0992/link.git
bash link/integrations/kiro/install.sh
This installs link-mcp, scaffolds ~/link/, and registers the MCP server in ~/.kiro/settings/mcp.json automatically.
Manual setup (any MCP client)
- Scaffold your wiki:
git clone https://github.com/gowtham0992/link.git
bash link/integrations/kiro/install.sh # or claude-code, cursor, codex
- Add to your MCP client config:
{
"mcpServers": {
"link": {
"command": "python3",
"args": ["-m", "link_mcp"]
}
}
}
Custom wiki path:
{
"mcpServers": {
"link": {
"command": "python3",
"args": ["-m", "link_mcp", "--wiki", "~/my-wiki/wiki"]
}
}
}
Tools
| Tool | Description |
|---|---|
search_wiki(query, limit?) |
Ranked search — title (20pts), alias (8pts), tag (5pts), fulltext (2pts). Returns scores + snippets. |
get_context(topic) |
Primary tool. Best matching page (full content) + inbound/forward graph links in one call. |
get_pages(category?, type?, maturity?) |
All pages with metadata. Filter by category, type, or maturity. |
get_backlinks(page_name) |
Inbound + forward links for a page. |
get_graph() |
All nodes + edges for graph reasoning. |
rebuild_backlinks() |
Rebuild _backlinks.json after ingest or lint. |
Use get_context for answering questions — one call returns the primary page plus all related pages via graph traversal. Eliminates the token waste of reading index.md every session.
Wiki location
Default: ~/link/wiki/. Override with --wiki /path/to/wiki.
Requirements
- Python 3.10+
- A Link wiki (scaffolded by
install.sh)
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 link_mcp-1.0.2.tar.gz.
File metadata
- Download URL: link_mcp-1.0.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
607d8fd5afb7084b99be43ecad6a38120adc11aa9cebd0d1c9f1a53e6fecdd3c
|
|
| MD5 |
55a082756e726c715c96c585ce5c6dbf
|
|
| BLAKE2b-256 |
8de9f91a937123f12a55e5a6a6ecf619a62344631a1b6aab5a159c41cc25a5f6
|
File details
Details for the file link_mcp-1.0.2-py3-none-any.whl.
File metadata
- Download URL: link_mcp-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
982c46152ac8c1adac8d0b120e90e52cc634095631c53fa38272eae1db6fbd54
|
|
| MD5 |
08cb97ff7758389b3edf575c25d29b68
|
|
| BLAKE2b-256 |
6dc7fd09baec53c513d526b4969ce36b10bbfdeb5099ff9dd38afcf1306c7455
|