lexicon_feed
Retrieve competitive intelligence for any market or industry, including recent developments, new entrant signals, and trend analysis.
Instructions
Competitive intelligence feed for a market or industry. Returns recent developments, entrant signals, and trend analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| industry | Yes | Market or industry name | |
| limit | No | Maximum items to return (default 10) |
Implementation Reference
- index.js:72-82 (schema)Input schema and description for the lexicon_feed tool, defining the 'industry' (required, string) and 'limit' (optional, number) parameters.
name: "lexicon_feed", description: "Competitive intelligence feed for a market or industry. Returns recent developments, entrant signals, and trend analysis.", inputSchema: { type: "object", properties: { industry: { type: "string", description: "Market or industry name" }, limit: { type: "number", description: "Maximum items to return (default 10)" }, }, required: ["industry"], }, }, - index.js:91-91 (registration)Maps lexicon_feed tool name to remote endpoint 'lexicon.feed' used when calling the remote MCP API.
lexicon_feed: "lexicon.feed", - index.js:101-128 (handler)Generic CallToolRequestSchema handler that looks up the tool name in TOOL_MAP and proxies the call to the remote API at BASE_URL/mcp/v1 with the mapped remote tool name and arguments.
server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; const remoteTool = TOOL_MAP[name]; if (!remoteTool) { return { content: [{ type: "text", text: `Unknown tool: ${name}` }], isError: true }; } const headers = { "Content-Type": "application/json" }; if (API_KEY) headers["X-API-Key"] = API_KEY; const response = await fetch(`${BASE_URL}/mcp/v1`, { method: "POST", headers, body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/call", params: { name: remoteTool, arguments: args }, }), }); const data = await response.json(); if (data.result) return data.result; return { content: [{ type: "text", text: JSON.stringify(data.error || data) }], isError: true, }; });