hermes-knowledge-ingestion
Provides tools for ingesting URLs, local files, and text into Hermes as structured knowledge cards.
Saves ingested content as structured Markdown knowledge cards in an Obsidian Vault.
Accepts content from Telegram webhooks, including text, captions, or the first URL in a message, and ingests it as knowledge cards.
Supports ingestion from WeChat Official Accounts articles and WeChat Channels videos, including an experimental macOS integration for Channels.
Extracts captions from YouTube videos (with Whisper fallback) and ingests them as knowledge cards.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hermes-knowledge-ingestionSave this article to my vault: https://example.com/article"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hermes Knowledge Ingestion
Local-first, plugin-based knowledge ingestion for Hermes, Obsidian, and other local retrieval tools. It turns links, text, videos, screenshots, PDFs, and local files into structured Markdown knowledge cards and saves them to an Obsidian Vault.
Current release:
0.1.1. Web and file ingestion run cross-platform. WeChat Channels downloading is an optional, experimental macOS integration that requires the desktop WeChat client and a local TLS proxy.
How it works
Hermes Skill / CLI / Web / Telegram
|
MCP / FastAPI
|
Source Adapter
|
ContentItem
|
Cleaner / OCR / Whisper / AI
|
Classifier / Tags / Knowledge Linker
|
Obsidian Markdown + SQLiteEvery source is normalized into a ContentItem. To add a platform, implement
SourceAdapter.detect() and SourceAdapter.fetch(), then register the adapter in
backend/adapters/registry.py.
Related MCP server: Enhanced Obsidian MCP Server
Supported sources
Source | Input | Capabilities |
Web pages, blogs, and news | URL | Readability extraction, Markdown conversion, and image download |
WeChat Official Accounts | URL | Article body, author, and images; can also be synced by another tool |
X / Twitter | Post URL | Current post, visible parent context, quoted content, and media when available |
YouTube | URL | Captions first; Whisper fallback when captions are unavailable |
File | Text extraction; OCR for scanned pages with the media extra | |
Images | File | OCR plus visual and chart descriptions when a vision model is configured |
Audio and video | File | Whisper transcription or vision-model understanding |
WeChat Channels | Share URL | Experimental macOS integration, or upload the original video directly |
Telegram | Webhook | Text, captions, or the first URL found in a message |
Quick start
Python 3.11 or newer is required. Media processing requires ffmpeg; OCR requires
Tesseract.
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[media,browser,hermes,dev]"
playwright install chromium
cp config.example.yaml config.yaml
uvicorn backend.main:app --host 127.0.0.1 --port 8787Open http://127.0.0.1:8787, or use the CLI:
.venv/bin/python scripts/ingest.py 'https://example.com/article'
.venv/bin/python scripts/ingest.py '/absolute/path/file.pdf'
.venv/bin/python scripts/ingest.py 'A note to keep' --title 'Quick note'The same pipeline is available through the API:
curl -X POST http://127.0.0.1:8787/api/ingest \
-H 'content-type: application/json' \
-d '{"url":"https://example.com/article"}'Configure AI and Obsidian
The AI layer uses an OpenAI-compatible Chat Completions endpoint. AI is disabled by default; without a model the system still creates a local fallback summary. Enable AI for classification, visual understanding, and richer tags:
export OBSIDIAN_VAULT_DIR=/absolute/path/to/ObsidianVault
export AI_ENABLED=true
export OPENAI_BASE_URL=http://127.0.0.1:11434/v1
export OPENAI_API_KEY=''
export OPENAI_MODEL=qwen2.5:7b
export OPENAI_VISION_MODEL=your-vision-modelYou can set the same values in config.yaml. The config file, .env, database,
browser login state, and downloaded media are ignored by Git.
Knowledge linking uses qmd when available. If qmd is not installed, it falls back
to lexical matching over the latest 1,000 Markdown notes in the Vault. Cards are written
to a temporary file and atomically replaced so an indexer never sees a partial note.
Hermes MCP tool
scripts/knowledge_mcp.py exposes two tools:
knowledge_ingest: ingest a URL, local file, or text and wait for the knowledge card to finish.knowledge_wechat_prepare: refresh the local WeChat Channels window only when the client connection needs recovery.
In Hermes, configure the MCP command to use this repository's virtual-environment Python
and the absolute path to scripts/knowledge_mcp.py. Copy or symlink
hermes-skill/personal-knowledge-ingestion into the Hermes skills directory. Hermes can
then route intents such as “save”, “archive”, and “ingest” to this tool.
Docker
cp .env.example .env
docker compose up --buildDocker is suitable for web pages, files, OCR, transcription, and the AI pipeline. When
the workflow needs the macOS WeChat client, system proxy, or a GUI browser login, run the
backend directly on the host. Compose binds the service to 127.0.0.1:8787.
WeChat Channels security boundary
The Channels integration uses the separately maintained
ltaoo/wx_channels_download project.
Its license and security boundary are separate from this repository. This project does
not distribute its binary, root certificate, cookies, or WeChat login data. See
integrations/wechat-channels/README.md for installation, licensing, proxy, and macOS
permission details.
The downloader creates a local TLS proxy. Use only a trusted, checksum-verified build and never expose the downloader or this service to a LAN. The MCP tool temporarily switches the HTTP/HTTPS proxy for the task and restores the previous settings afterward. The original video is deleted only after both the Obsidian note and SQLite record have been written successfully.
Verification
pytest -q
ruff check backend scripts testsThe test suite covers Markdown formatting, task recovery, text end-to-end ingestion, X context, the WeChat Channels adapter, video transcoding, post-write cleanup, and input classification. Real platform pages and login sessions change over time, so production deployments should still perform a separate end-to-end check for each platform they use.
Contributing and license
Read CONTRIBUTING.md and SECURITY.md before submitting a change. Original project code
is licensed under Apache-2.0. Optional third-party components remain under their own
licenses; see THIRD_PARTY_NOTICES.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceConnects AI assistants directly to Obsidian vaults with intelligent note creation using templates, semantic search, smart tagging to avoid duplicates, and specialized agent roles (Guardian, Researcher, Connection Weaver) for managing knowledge bases.358MIT
- AlicenseBqualityFmaintenanceEnables seamless integration between AI models and Obsidian knowledge bases with 25 advanced tools for note management, intelligent search, AI-powered content analysis, auto-linking, tag management, template systems, and knowledge graph generation.252525MIT
- Alicense-qualityAmaintenanceSyncs Obsidian notes into a temporal knowledge graph and exposes 23 MCP tools for AI assistants to read, search, and write to your vault, enabling persistent memory across conversations.61MIT
- Flicense-qualityDmaintenanceLets Claude save conversations, notes, and structured summaries directly to your Obsidian vault. Supports YAML frontmatter, auto-backlinks, daily notes, and vault search.
Related MCP Connectors
Search everything you save: YouTube, articles, podcasts, PDFs, Notion, Obsidian. API key or OAuth.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
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/lyc403223157-source/hermes-knowledge-ingestion'
If you have feedback or need assistance with the MCP directory API, please join our Discord server