Publisher Content MCP Server
Exposes publisher journalism to LLMs and agent frameworks via search, retrieval, source grounding, and consistent citation, enabling accurate content retrieval with attribution and policy enforcement.
README
Publisher Content MCP Server
A small Model Context Protocol server that exposes a publisher's journalism to LLMs and agent frameworks as a first-class platform — with search, retrieval, source grounding and consistent citation.
I built this as a working demonstration of the primitives behind "LLM connector and retrieval experiences": defined schemas, tool/function calling, retrieval with context, grounding, and clear attribution at the boundary between authoritative content and external AI systems.
Why it exists
As large language models become a primary gateway to information, publishers need to decide how their content is queried, grounded and cited inside AI systems — rather than leaving it to the model's priors. This server treats an AI assistant as a distribution platform and gives it:
- Accurate retrieval — search and fetch the right material with context.
- Grounding metadata — source, author, section, publish/update dates, and an
authoritylevel (staff-reported vs analysis vs opinion). - Consistent citation — a single citation format every agent can follow.
- A runtime policy tool —
citation_policy()exposes the rules for representing the content, so agents fetch and follow them at call time.
Tools
| Tool | Purpose |
|---|---|
search_articles(query, limit) |
Keyword search across title, summary and topics; returns grounding metadata |
get_article(article_id) |
Full article body with citation and grounding |
list_topics() |
Available topics with article counts, to scope a query |
citation_policy() |
The publisher's rules for how AI systems must attribute and characterise content |
Run it
pip install -r requirements.txt
python server.py # serves over stdio
Or use the MCP Inspector to explore the tools interactively:
mcp dev server.py
Use with an MCP client (e.g. Claude Desktop)
Add to your client's MCP config:
{
"mcpServers": {
"publisher-content": {
"command": "python",
"args": ["/absolute/path/to/server.py"]
}
}
}
Then ask the assistant something like "What does the publisher have on AI and news discovery? Cite your source." — it will call search_articles, get_article, and apply the citation policy.
Design notes
- Schemas over prose. Every tool returns a stable, typed shape so downstream agents can rely on it.
- Grounding is explicit.
is_authoritativeandauthoritylet an agent distinguish verified reporting from opinion — central to responsible representation of journalism. - Policy as a tool. Making citation rules retrievable at runtime is more robust than hoping the model remembers them.
Note on content
articles.json contains synthetic sample content written for this demo. It is not affiliated with, or copied from, any real publication.
Built by Ravin Tambimuttu as a hands-on exploration of MCP connector and retrieval patterns for publisher content.
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.