search— search live web data with ranked results, highlights, filters, timestamps, and optional full contentnews_search— search news results for current events, announcements, and timely reportingextract— fetch known URLs as clean markdown or text, including page type and content category
Get API Key
Create a key from the API Platform.
GitHub
View source and contribute.
npm
Install the
octen-mcp package.Why Octen MCP
Octen MCP gives agents access to Octen’s live web data and clean page content without leaving the MCP client.Realtime search
Search fresh web results for current events and fast-changing topics.
News search
Search headlines, announcements, and market updates from news-focused results.
Clean URL extraction
Turn web pages into clean, LLM-ready content for reading, summarization, and analysis.
Installation
You’ll need an Octen API key first. Create one from the API Platform.
- Claude Desktop
- Cursor
- VS Code
- Claude Code
- Other clients
Add to
claude_desktop_config.json:Tools
| Tool | Use for | Returns |
|---|---|---|
search | Web search by query | Ranked pages with title, url, highlight, timestamps, and optional full_content |
news_search | News search by query | Same as search, with topic fixed to news |
extract | Reading known URLs | One result per URL with status, content or highlights, category, and page_structure |
search
Use search for live web retrieval. It supports:
topic:generalornewscount: 1-100 resultsinclude_domains/exclude_domainsinclude_text/exclude_texttime_basis:auto,published, orcrawledtime_range,start_time, andend_timehighlightsnippets or optionalfull_contentinclude_imagesandinclude_videos
news_search
Use news_search for current events, headlines, announcements, and time-sensitive reporting. It uses Octen Search with topic set to news.
Equivalent Search API request:
extract
Use extract when the input is one or more URLs. It supports:
urls: 1-20 URLsquery: return ranked highlights from each page instead of the full bodymax_age_seconds: cache freshness controlformat:markdownortextinclude_images,include_videos,include_audio, andinclude_favicon
Response shapes
Search returns a query and ranked result list:extract.query, each successful URL returns highlights instead of full_content. Failed URLs return status: "failed" and an error_message; failed URLs are not billed.
Handling edge cases
| Tool | Signal | Recommended handling |
|---|---|---|
search / news_search | No results or weak highlights | Rewrite the query, adjust filters, widen the time window, or enable full_content for search results. |
extract | status: failed | Read error_message; failed URLs are not billed. |
extract | page_structure.primary: "No Main Content" | Treat it as a login wall, shell page, paywall, or page without useful main content. |
Configuration
| Variable | Required | Default |
|---|---|---|
OCTEN_API_KEY | Yes | - |
OCTEN_API_URL | No | https://api.octen.ai |