MCP Hub
Back to servers

freshcontext

Real-time web intelligence for AI agents. 11 tools, no API keys. GitHub, HN, Reddit, arXiv & more.

Registrynpm350/wk
Stars
1
Updated
Mar 4, 2026

Quick Install

npx -y freshcontext-mcp

freshcontext-mcp

Timestamped web intelligence for AI agents. Every result is wrapped in a FreshContext envelope — so your agent always knows when it's looking at data, not just what.

npm version License: MIT


The Problem

LLMs hallucinate recency. They'll cite a 2022 job posting as "current", recall outdated API docs as if they're live, or tell you a project is active when it hasn't been touched in two years. This happens because they have no reliable signal for when data was retrieved vs. when it was published.

Existing MCP servers return raw content. No timestamp. No confidence signal. No way for the agent to know if it's looking at something from this morning or three years ago.

The Fix: FreshContext Envelope

Every piece of data extracted by freshcontext-mcp is wrapped in a structured envelope:

[FRESHCONTEXT]
Source: https://github.com/owner/repo
Published: 2024-11-03
Retrieved: 2026-03-04T10:14:00Z
Confidence: high
---
... content ...
[/FRESHCONTEXT]

The AI agent always knows when it's looking at data, not just what the data says.


Tools

🔬 Intelligence Tools

ToolDescription
extract_githubREADME, stars, forks, language, topics, last commit from any GitHub repo
extract_hackernewsTop stories or search results from HN with scores and timestamps
extract_scholarResearch paper titles, authors, years, and snippets from Google Scholar
extract_redditPosts and community sentiment from any subreddit or Reddit search

🚀 Competitive Intelligence Tools

ToolDescription
extract_ycScrape YC company listings by keyword — find who's funded in your space
extract_producthuntRecent Product Hunt launches by keyword or topic
search_reposSearch GitHub for similar/competing repos, ranked by stars with activity signals
package_trendsnpm and PyPI package metadata — version history, release cadence, last updated

📈 Market Data

ToolDescription
extract_financeLive stock data via Yahoo Finance — price, market cap, P/E, 52w range, sector, company summary

🗺️ Composite Tool

ToolDescription
extract_landscapeOne call. Full picture. Queries YC + GitHub + HN + npm/PyPI simultaneously. Returns a unified timestamped landscape report.

Quick Start

Option A — Cloud (recommended, no install needed)

Visit freshcontext-site.pages.dev for a guided 3-step install with copy-paste config. No terminal, no downloads, no antivirus alerts.

Or add this manually to your Claude Desktop config and restart:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "freshcontext": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://freshcontext-mcp.gimmanuel73.workers.dev/mcp"]
    }
  }
}

Restart Claude Desktop. The freshcontext tools will appear in your session.

If claude_desktop_config.json doesn't exist yet, create it with the content above.


Option B — Local (full Playwright, for heavy use)

Prerequisites: Node.js 18+ (nodejs.org)

git clone https://github.com/PrinceGabriel-lgtm/freshcontext-mcp
cd freshcontext-mcp
npm install
npx playwright install chromium
npm run build

Then add to your Claude Desktop config:

Mac:

{
  "mcpServers": {
    "freshcontext": {
      "command": "node",
      "args": ["/Users/YOUR_USERNAME/path/to/freshcontext-mcp/dist/server.js"]
    }
  }
}

Windows:

{
  "mcpServers": {
    "freshcontext": {
      "command": "node",
      "args": ["C:\\Users\\YOUR_USERNAME\\path\\to\\freshcontext-mcp\\dist\\server.js"]
    }
  }
}

Troubleshooting (Mac)

"command not found: node" — Node isn't on Claude Desktop's PATH. Use the full path:

which node   # copy this output

Replace "command": "node" with "command": "/usr/local/bin/node" (or whatever which node returned).

"npx: command not found" — Same fix. Run which npx and use the full path.

Config file doesn't exist — Create it:

mkdir -p ~/Library/Application\ Support/Claude
touch ~/Library/Application\ Support/Claude/claude_desktop_config.json

Usage Examples

Check if anyone is already building what you're building

Use extract_landscape with topic "cashflow prediction mcp"

Returns a unified report: who's funded (YC), what's trending (HN), what repos exist (GitHub), what packages are active (npm/PyPI). All timestamped.

Get community sentiment on a topic

Use extract_reddit with url "r/MachineLearning"
Use extract_hackernews with url "https://hn.algolia.com/api/v1/search?query=mcp+server&tags=story"

Check a company's stock

Use extract_finance with url "NVDA,MSFT,GOOG"

Find what just launched in your space

Use extract_producthunt with url "AI developer tools"

Why FreshContext?

Most AI agents retrieve data but don't timestamp it. This creates a silent failure mode: the agent presents stale information with the same confidence as fresh information. The user has no way to know the difference.

FreshContext treats retrieval time as first-class metadata. Every adapter returns:

  • retrieved_at — exact ISO timestamp of when the data was fetched
  • content_date — best estimate of when the content was originally published
  • freshness_confidencehigh, medium, or low based on signal quality
  • adapter — which source the data came from

Security

  • Input sanitization and domain allowlists on all adapters
  • SSRF prevention (blocked private IP ranges)
  • KV-backed global rate limiting: 60 requests/minute per IP across all edge nodes
  • No credentials required for public data sources

Project Structure

freshcontext-mcp/
├── src/
│   ├── server.ts              # MCP server, all tool registrations
│   ├── types.ts               # FreshContext interfaces
│   ├── security.ts            # Input validation, domain allowlists, SSRF prevention
│   ├── adapters/
│   │   ├── github.ts
│   │   ├── hackernews.ts
│   │   ├── scholar.ts
│   │   ├── yc.ts
│   │   ├── repoSearch.ts
│   │   ├── packageTrends.ts
│   │   ├── reddit.ts
│   │   ├── productHunt.ts
│   │   └── finance.ts
│   └── tools/
│       └── freshnessStamp.ts
└── worker/                    # Cloudflare Workers deployment (all 10 tools)
    └── src/worker.ts

Roadmap

  • GitHub adapter
  • Hacker News adapter
  • Google Scholar adapter
  • YC startup scraper
  • GitHub repo search
  • npm/PyPI package trends
  • extract_landscape composite tool
  • Cloudflare Workers deployment
  • Worker auth + KV-backed global rate limiting
  • Reddit community sentiment adapter
  • Product Hunt launches adapter
  • Yahoo Finance market data adapter
  • extract_arxiv — structured arXiv API (more reliable than Scholar)
  • TTL-based caching layer
  • freshness_score numeric metric

Contributing

PRs welcome. New adapters are the highest-value contribution — see src/adapters/ for the pattern. Each adapter returns { raw, content_date, freshness_confidence }.


License

MIT

Reviews

No reviews yet

Sign in to write a review