FreshContext

v0.5.3
io.github.PrinceGabriel-lgtm/freshcontext Checked 4 days ago Published 2 months ago

Context integrity for AI agents: evaluate freshness, confidence, provenance, and decision readiness.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

evaluate_context

Evaluate caller-provided candidate context and return decision-ready output. This is the primary FreshContext judgment path: it does not fetch, crawl, scrape, browse, read folders, or call adapters.

ParameterTypeDescription
intent *stringIntent Profile id, e.g. citation_check, student_research, developer_adoption, job_search, market_watch, business_due_diligence, medical_literature_triage.
profile *stringSource Profile id, e.g. academic_research, jobs_opportunities, market_finance, official_docs, product_research, multi_agent_handoff, local_custom.
signals *arrayCandidate context items provided by the caller. FreshContext evaluates these; it does not retrieve them.
nowstringOptional ISO timestamp for deterministic evaluation.

extract_github

Extract real-time data from a GitHub repository — README, stars, forks, language, topics, last commit. Returns timestamped freshcontext.

ParameterTypeDescription
url *stringFull GitHub repo URL e.g. https://github.com/owner/repo
max_lengthnumberMax content length

extract_scholar

Extract research results from a Google Scholar search URL. Returns titles, authors, publication years, and snippets — all timestamped.

ParameterTypeDescription
url *stringGoogle Scholar search URL e.g. https://scholar.google.com/scholar?q=...
max_lengthnumber

extract_hackernews

Extract top stories or search results from Hacker News. Accepts an HN/Algolia URL or a plain search query while preserving the url field for compatibility.

ParameterTypeDescription
url *stringHN URL e.g. https://news.ycombinator.com/news, Algolia API URL, or search query e.g. 'browser agents'
max_lengthnumber

extract_yc

Withdrawn in 0.5.3 pending review of source terms. Returns an error; kept so existing clients get a clear answer.

ParameterTypeDescription
url *stringYC companies URL e.g. https://www.ycombinator.com/companies?query=mcp
max_lengthnumber

search_repos

Search GitHub for repositories matching a keyword or topic. Returns top results by stars with activity signals. Use to find competitors, similar tools, or related projects.

ParameterTypeDescription
query *stringSearch query e.g. 'mcp server typescript' or 'cashflow prediction python'
max_lengthnumber

extract_arxiv

Search arXiv for research papers via the official API. Pass a topic, keyword, or full arXiv API URL. Returns titles, authors, publication dates, primary category, and abstracts — all timestamped.

ParameterTypeDescription
url *stringSearch query e.g. 'temporal retrieval', or a full arXiv API URL
max_lengthnumber

extract_finance

No-key stock quote data via Stooq — close, open, high, low, volume, quote timestamp, and source. Accepts up to 5 comma-separated tickers. Returns timestamped freshcontext only for successful observations.

ParameterTypeDescription
url *stringTicker symbol(s) e.g. 'AAPL' or 'MSFT,GOOG,PLTR'
max_lengthnumber

extract_reddit

Extract posts and community sentiment from Reddit via the public JSON API. Accepts a subreddit URL (https://www.reddit.com/r/MachineLearning/.json), a search URL, or a subreddit shorthand ('r/MachineLearning'). Returns titles, authors, scores, comment counts, and per-post timestamps.

ParameterTypeDescription
url *stringSubreddit URL, search URL, or 'r/<subreddit>' shorthand
max_lengthnumber

extract_producthunt

Recent Product Hunt launches by keyword or topic. Uses the Product Hunt GraphQL API (with HTML scrape fallback). Returns names, taglines, vote counts, comment counts, topics, and launch dates — all timestamped.

ParameterTypeDescription
url *stringSearch query e.g. 'mcp ai agents' or a Product Hunt topic URL
max_lengthnumber

extract_landscape

Composite intelligence tool. Given a project idea or keyword, simultaneously queries YC startups, GitHub repos, HN, Reddit, Product Hunt, and package registries to answer: Who is building this? Is it funded? What's getting traction? Returns a unified 6-source timestamped landscape report.

ParameterTypeDescription
topic *stringYour project idea or keyword e.g. 'mcp server' or 'cashflow prediction'
max_lengthnumber

search_jobs

Search for real-time job listings with freshness badges on every result — so you never apply to a role that closed months ago. Sources: Remotive + RemoteOK + The Muse + HN 'Who is Hiring'. Supports location filtering, remote-only mode, keyword spotting (e.g. FIFO), and max age filtering. Returns timestamped freshcontext sorted freshest first.

ParameterTypeDescription
query *stringJob search query e.g. 'typescript', 'mining engineer', 'FIFO operator', 'data analyst'
keywordsarrayKeywords to highlight in results e.g. ['FIFO', 'underground', 'contract']
locationstringCountry, city, or 'remote' / 'worldwide' e.g. 'South Africa', 'Australia', 'remote'
max_age_daysnumberHide listings older than N days (default 60, use 7 for very fresh only)
max_lengthnumber
remote_onlybooleanOnly return remote-friendly listings

extract_changelog

Extract update history from a repo or package. Accepts a GitHub repository URL (uses the Releases API) or an npm package name. Returns version numbers, release dates, and entry content — all timestamped. Use this to check if a tool is actively maintained, when a feature shipped, or how fast a team moves.

ParameterTypeDescription
url *stringGitHub repo URL (https://github.com/owner/repo) or npm package name (e.g. 'freshcontext-mcp').
max_lengthnumberMax content length

extract_govcontracts

Fetch US federal government contract awards from USASpending.gov. No API key required. Search by company name (e.g. 'Palantir'), keyword (e.g. 'AI infrastructure'), or NAICS code (e.g. '541511'). Returns award amounts, dates, awarding agency, NAICS code, and contract descriptions — all timestamped. Use this to find buying intent signals (a company that just won a $5M DoD contract is actively hiring and spending), competitive intelligence, or GTM targeting.

ParameterTypeDescription
url *stringCompany name (e.g. 'Cloudflare'), keyword (e.g. 'machine learning'), NAICS code (e.g. '541511'), or direct USASpending API URL.
max_lengthnumberMax content length

extract_gov_landscape

Composite government intelligence tool. Given a company name, keyword, or NAICS code, simultaneously queries: (1) USASpending.gov for federal contract awards, (2) GitHub for the company's repo activity, (3) Hacker News for developer community awareness, and (4) their product changelog for release velocity. Answers: Who is winning government contracts in this space? Are they actually building? Does the dev community know about them? Returns a unified 4-source timestamped report. Unique — not available in any other MCP server.

ParameterTypeDescription
query *stringCompany name (e.g. 'Palantir'), keyword (e.g. 'artificial intelligence'), or NAICS code (e.g. '541511'). For GitHub and changelog sections, also optionally provide a GitHub URL.
github_urlstringOptional GitHub repo URL for the company (e.g. 'https://github.com/palantir/palantir-java-format'). If omitted, GitHub and changelog sections use the query as a search term.
max_lengthnumber
min_freshness_scorenumberFilter sections below this freshness_score (0–100). E.g. 70 = only recently retrieved data.

extract_finance_landscape

Composite financial intelligence tool for developers. Given one or more ticker symbols, simultaneously queries: (1) Stooq for no-key quote data, (2) Hacker News for developer community sentiment, (3) Reddit for investor and tech community discussion, (4) GitHub for repo ecosystem activity around the company's tech, and (5) their product changelog for release velocity as a company health signal. Answers: What's the price? What are developers saying? Is the company actually shipping? Returns a unified 5-source timestamped report.

ParameterTypeDescription
tickers *stringOne or more ticker symbols e.g. 'PLTR' or 'PLTR,MSFT,GOOG'. Up to 5 tickers.
company_namestringCompany name for HN/Reddit/GitHub searches e.g. 'Palantir'. If omitted, derived from the ticker.
github_querystringGitHub search query or repo URL for the company's tech ecosystem e.g. 'palantir' or 'https://github.com/palantir/foundry'. If omitted, uses company_name.
max_lengthnumber
min_freshness_scorenumberFilter sections below this freshness_score (0–100). E.g. 70 = only recently retrieved data.

extract_sec_filings

Fetch SEC 8-K filings for any public company from the SEC EDGAR full-text search API. 8-K filings are legally mandated disclosures of material corporate events — CEO changes, acquisitions, data breaches, major contracts, regulatory actions — filed within 4 business days. Free, no auth, real-time. Pass a company name, ticker, or keyword. Unique: not available in any other MCP server.

ParameterTypeDescription
url *stringCompany name, ticker, or keyword e.g. 'Palantir', 'PLTR', 'artificial intelligence'
max_lengthnumber

extract_gdelt

Fetch global news intelligence from the GDELT Project. GDELT monitors broadcast, print, and web news from every country in 100+ languages, updated every 15 minutes. Returns articles with title, source domain, country of origin, language, and publication date — covering news worldwide that Western sources miss. Free, no auth. Pass any company name, topic, or keyword. Unique: not available in any other MCP server.

ParameterTypeDescription
url *stringQuery: company name, topic, or keyword e.g. 'Palantir', 'artificial intelligence', 'MCP server'
max_lengthnumber

extract_company_landscape

Composite company intelligence tool. The most complete single-call company analysis available. Simultaneously queries 5 unique sources: (1) SEC EDGAR for 8-K material event filings — what the company legally just disclosed, (2) USASpending.gov for federal contract footprint — who is giving them government money, (3) GDELT for global news intelligence — what the world is saying about them right now, (4) their product changelog — are they actually shipping, (5) Stooq quote data — what the market is pricing in. Returns a unified 5-source timestamped report. Unique: this combination is n…

ParameterTypeDescription
company *stringCompany name e.g. 'Palantir', 'Anthropic', 'OpenAI'
github_urlstringOptional GitHub repo or org URL e.g. 'https://github.com/palantir'. Improves changelog accuracy.
max_lengthnumber
min_freshness_scorenumberFilter sections below this freshness_score (0–100). E.g. 70 = only recently retrieved data.
tickerstringStock ticker for finance data e.g. 'PLTR'. Leave blank for private companies.

extract_gebiz

Fetch Singapore Government procurement opportunities from GeBIZ via the data.gov.sg open API (Ministry of Finance official dataset). Returns open tenders, awarded contracts, agencies, amounts, and closing dates. Search by keyword (e.g. 'software', 'AI', 'data analytics'), agency name (e.g. 'GovTech', 'MOH'), or leave blank for all recent tenders. Free, no auth. Unique: not available in any other MCP server.

ParameterTypeDescription
url *stringSearch keyword, agency name, or leave empty for all recent tenders. E.g. 'artificial intelligence', 'GovTech', 'cybersecurity'
max_lengthnumber

extract_idea_landscape

Idea validation composite tool for developers and founders. Given a project idea or keyword, simultaneously queries 6 sources to answer: Is this problem real? Is the market crowded? Is there funding? Are companies hiring? What just launched? Sources: (1) Hacker News — what developers are actively complaining about and discussing, (2) YC companies — who has already received funding in this space, (3) GitHub repos — how crowded the open source landscape is, (4) Job listings — hiring signal showing real company spend around this problem, (5) npm/PyPI package trends — ecosystem adoption…

ParameterTypeDescription
idea *stringYour idea, problem space, or keyword. E.g. 'data freshness for AI agents', 'procurement intelligence', 'developer observability'
max_lengthnumber
min_freshness_scorenumberFilter sections below this freshness_score (0–100). E.g. 70 = only recently retrieved data.