Smart Reader MCP
Reads PDF, image, or video files by sniffing format and delegating to specialized sibling MCP servers, extracting facts and metadata without LLMs.
README
Smart Reader MCP
One MCP call reads PDF, image, or video by sniffing format and delegating to Sylphx Reader siblings.
Status: v0.1.0 — read_media ships with format sniffing, sibling delegation, and provenance envelope.
Portfolio architecture (orchestration only): ADR-0002.
| Repository | Role |
|---|---|
| pdf-reader-mcp | PDF (production) |
| image-reader-mcp | Image |
| video-reader-mcp | Video |
| smart-reader-mcp (this repo) | Sniff format + delegate; phase 2 adds universal local/remote paths here |
Read vs interpret
Read (this repo): extract facts, metadata, transcripts, regions, and timelines with provenance — no generative LLM required.
Interpret (out of scope): summarize, classify, or answer open questions — belongs in the agent or an optional remote provider adapter.
MCP surface (v0.1.0)
read_media
Reads a local file by sniffing magic bytes and extension, then delegates to the matching Sylphx Reader sibling MCP server.
Input
{
"path": "/absolute/or/relative/path/to/media.pdf"
}
Supported formats
- PDF:
.pdf - Image:
.png,.jpg,.jpeg,.gif,.webp,.tif,.tiff - Video:
.mp4,.m4v,.mkv,.mov,.webm
Response envelope
Every successful call returns a normalized envelope with provenance:
{
"source_path": "/path/to/media.pdf",
"detected_format": "pdf",
"delegated_tool": "read_pdf",
"raw_result": {}
}
source_path— resolved absolute path that was readdetected_format— sniffed format (magic bytes first, extension fallback)delegated_tool— sibling tool invoked (read_pdf,read_image, orread_video)raw_result— passthrough result from the delegated reader
Delegation model
Smart Reader does not parse PDF/image/video itself. It spawns a stdio MCP client to the matching sibling package:
- Resolve a locally installed sibling (
@sylphx/pdf-reader-mcp, etc.) vianode <package-bin> - Fall back to
npx -y @sylphx/<reader>-mcpwhen the package is not installed locally - Return an informative install hint if delegation fails
Install the readers you need:
npm install @sylphx/pdf-reader-mcp
npm install @sylphx/image-reader-mcp
npm install @sylphx/video-reader-mcp
Quick start
git clone https://github.com/SylphxAI/smart-reader-mcp.git
cd smart-reader-mcp
bun install
bun run build
npx @sylphx/smart-reader-mcp
MCP client config (stdio)
{
"mcpServers": {
"smart-reader": {
"command": "npx",
"args": ["-y", "@sylphx/smart-reader-mcp"]
}
}
}
Development
bun install
bun run validate
License
MIT © SylphxAI
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.