keptlive/contextwire-sdk
Node.js/TypeScript SDK for ContextWire search API — search, ask, extract, research. Free tier included.
Platform-specific configuration:
{
"mcpServers": {
"contextwire-sdk": {
"command": "npx",
"args": [
"-y",
"contextwire-sdk"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Official Node.js SDK for ContextWire — AI-powered search, research, and content extraction.
npm install @contextwire/sdkimport ContextWire from '@contextwire/sdk';
const api = new ContextWire({ apiKey: 'your-api-key' });
// Search the web
const results = await api.search('best javascript frameworks 2026');
console.log(results.results);
// Ask a question (AI-powered answer with sources)
const answer = await api.ask('What is the population of Tokyo?');
console.log(answer.answer, answer.sources);new ContextWire(config)| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | apiKey | string | *required* | Your ContextWire key | | baseUrl | string | https://contextwire.dev | API base URL |
---
api.search(query, options?)Web search across 105+ engines.
const results = await api.search('node.js performance tips', {
profile: 'web',
page: 1,
timeRange: 'month',
});Options: profile, page, engines, timeRange
Returns: { query, results: [{ title, url, snippet, engine }], suggestions }
---
api.ask(query, options?)AI-powered question answering with source citations.
const answer = await api.ask('Who invented the transistor?', { maxSources: 5 });
console.log(answer.answer); // "The transistor was invented by..."
console.log(answer.confidence); // 0.95
console.log(answer.sources); // [{ title, url, snippet }]Options: profile, maxSources
Returns: { answer, sources, confidence }
---
api.research(query, options?)Deep multi-source research with structured findings.
const report = await api.research('Impact of AI on healthcare', {
depth: 'deep',
maxSources: 20,
});
console.log(report.summary);
console.log(report.findings); // [{ title, summary, sources }]
console.log(report.papers); // Academic papersLoading reviews...