source-pack-mcp
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., "@source-pack-mcpBuild a source pack on the effects of microplastics on human health"
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.
source-pack-mcp
A local-first Model Context Protocol server that turns fetched public web pages into structured research source packs: source-linked candidate facts, quotations, numbers, dates, outbound primary links, coverage signals, and explicit limitations.
Why this exists / strategic value
Agents are good at gathering pages but poor at preserving an auditable research trail. source-pack-mcp converts transient browsing into a durable JSON artifact that another agent, knowledge system, or human reviewer can inspect, search, and reuse.
Its strategic role is the evidence-assembly layer in a local-first agent stack: source material stays on the operator's machine, every extracted item remains attached to its URL, and uncertainty travels with the pack instead of disappearing into a prose answer.
Related MCP server: AutoWiki Agent
Verification boundaries
This server verifies that content was fetched from the recorded URL at the recorded time. It does not verify that a publisher is authoritative or that an extracted claim is true.
Facts, numbers, dates, and quotes are candidate evidence extracted with transparent heuristics.
A fact's
confidencedescribes extraction certainty, not factual truth.consistentmeans similar claims appeared on multiple domains; it is not proof of independent corroboration.contestedcurrently flags differing numbers in otherwise similar claims; it is not a complete contradiction detector.Discovery is best-effort and may be shallow. Failed fetches and extraction limits are recorded in
limitations.A stale cached page may be used when a live request fails;
retrieved_atretains the original fetch time.
Agents should cite the attached URLs and review consequential claims against primary sources.
Relationship to website-content-mcp
website-content-mcp is the acquisition layer for crawling or capturing content from known websites. source-pack-mcp is the evidence-assembly layer: it organizes selected URLs into a query-specific, persisted pack and compares claim coverage across sources.
Use them together when acquisition needs more control: discover or curate URLs with website-content-mcp, then pass the strongest URLs to pack_add_source. pack_build retains lightweight, best-effort discovery so source-pack-mcp can also run on its own.
MCP tools
Tool | Inputs | Behavior |
|
| Discovers, fetches, extracts, stores, and returns a new source pack. |
|
| Adds or replaces one URL in a pack and rebuilds its coverage map. |
|
| Returns a stored pack. |
|
| Lists recent pack summaries, newest first. |
|
| Searches stored pack text and returns matching snippets. |
pack_get, pack_list, and pack_search are read-only. pack_build and pack_add_source write JSON files beneath PACKS_DIR; none of the tools delete data.
Source-pack shape
{
"pack_id": "uuid",
"query": "string",
"created_at": "ISO timestamp",
"sources": [
{
"url": "https://example.com/source",
"title": "string",
"domain": "example.com",
"retrieved_at": "ISO timestamp",
"facts": [{ "fact": "string", "confidence": "high|medium|low" }],
"quotes": [{ "text": "string", "context": "string" }],
"numbers": [{ "value": "string", "unit": "string", "context": "string" }],
"dates": [{ "date": "string", "event": "string" }],
"primary_links": ["https://example.org/primary"]
}
],
"coverage_map": [
{
"claim": "string",
"mentioned_by": ["example.com"],
"contested_by": [],
"status": "consistent|contested|isolated"
}
],
"limitations": ["string"]
}Install from source
Requirements: Node.js 22+ and npm.
git clone https://github.com/SarutobiSasuke8/source-pack-mcp.git
cd source-pack-mcp
npm ci
npm run checkBuild the server:
npm run buildStdio transport (recommended for local MCP clients)
Register the compiled stdio entry point with an absolute path:
{
"mcpServers": {
"source-pack": {
"command": "node",
"args": ["/absolute/path/to/source-pack-mcp/dist/src/stdio.js"],
"env": {
"PACKS_DIR": "/absolute/path/to/source-pack-data/packs",
"CACHE_DIR": "/absolute/path/to/source-pack-data/cache"
}
}
}
}Streamable HTTP transport
npm run start
curl http://127.0.0.1:3225/healthzThe MCP endpoint is http://127.0.0.1:3225/mcp. It intentionally has no application-level authentication and binds to loopback by default; read SECURITY.md before changing HOST or exposing it through a network.
Verify a packed artifact
npm run smoke:mcp
npm run pack:checksmoke:mcp performs a real stdio MCP initialize handshake and asserts the five expected tools. pack:check builds the package and shows the exact files that would be published.
Configuration
Copy .env.example or supply environment variables directly.
Variable | Default | Purpose |
|
| Server-side maximum sources per pack (1-50). |
|
| Timeout for each outbound request. |
|
| Minimum delay between serialized outbound requests. |
|
| Maximum response body size in bytes; larger responses fail with |
| unset | Optional JSON search endpoint; DuckDuckGo HTML discovery is the fallback. |
| project user agent | User-Agent sent with outbound requests. |
|
| Local fetched-page cache directory. |
|
| Fresh-cache lifetime; |
|
| Local JSON source-pack directory. |
|
| HTTP bind host. |
|
| HTTP port. |
Relative data paths resolve from the server process's working directory. Use absolute paths in long-lived MCP client configurations.
Error contract
Tool failures keep a human-readable text message for compatibility and also return a stable structuredContent envelope:
{
"error": {
"schema_version": "1",
"code": "PACK_NOT_FOUND",
"category": "not_found",
"message": "No pack found with pack_id '...'.",
"retryable": false,
"details": { "pack_id": "..." }
}
}Current codes are PACK_NOT_FOUND, ROBOTS_DISALLOWED, URL_BLOCKED, RESPONSE_TOO_LARGE, UPSTREAM_HTTP_ERROR, UPSTREAM_NETWORK_ERROR, UPSTREAM_TIMEOUT, and INTERNAL_ERROR. Unknown internal failures are sanitized; upstream errors indicate whether retrying may help.
Development and release checks
npm run typecheck
npm run lint
npm test
npm run check
npm run smoke:mcp
npm run pack:checkThe live integration test is opt-in: it is skipped unless RUN_LIVE_TESTS=1 is set, so npm run check and CI are hermetic by default. Outbound fetches are SSRF-guarded: only http/https URLs are allowed, hostnames resolving to loopback, private (RFC1918), link-local, or other reserved addresses are refused (URL_BLOCKED), and redirects are re-validated hop by hop. CI runs the full check, the MCP handshake, the package dry-run, and a high-severity dependency audit. Version tags (v*) produce a tested .tgz workflow artifact; publishing remains an explicit maintainer decision.
License
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
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides fact-checking capabilities and truth anchoring for AI agents using verified data sources.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that compiles any text into a verifiable, graph-based knowledge base using deterministic chunking and parallel extraction of epistemology primitives.MIT
- AlicenseNot gradedqualityAmaintenanceThis MCP server enables AI agents to extract, verify, and cache factual claims from text using Claude Haiku and semantic fingerprinting, with tools for content verification, signal verification, and fact memory search.151MIT
- AlicenseAqualityBmaintenanceMCP server providing access to U.S. government primary-source records, fact-checks, news search, and trackers, with cross-referenced entity data and source links.466MIT
Related MCP Connectors
An MCP server for deep research or task groups
MCP server for generating rough-draft project plans from natural-language prompts.
Academic research MCP server for paper search, citation checks, graphs, and deep research.
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/SarutobiSasuke8/source-pack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server