Skip to content

Conversation

@kaminoguo
Copy link

Summary

Exposes Exa API parameters that were missing from the MCP tool but available in the official Exa API.

Missing Features Now Added

The following Exa API parameters were not exposed by the MCP tool:

  • useAutoprompt - query optimization (Exa API has this)
  • searchType - neural/keyword/auto selection (Exa API has this)
  • startPublishedDate/endPublishedDate - date filtering (Exa API has this)
  • includeDomains/excludeDomains - domain filtering (Exa API has this)
  • highlights - extractive summaries instead of full text (Exa API has this)

Changes

  • Updated TypeScript types in src/types.ts
  • Added parameters to web_search_exa tool schema
  • All parameters optional, maintains backward compatibility

Testing

Tested with various parameter combinations.

- Add support for useAutoprompt, searchType, date filters
- Add support for domain filtering (includeDomains/excludeDomains)
- Add highlights option for token-efficient responses (~70% reduction)
- Maintain backward compatibility with existing configurations

This enables cost optimization and more precise search control.
@theishangoswami
Copy link
Collaborator

thank you so much for your contribution, and I would love to have a 10mins call with you. my email is [email protected]

happy to give you $100 api credits as well.

for this PR, i have already added the additional funtionality to our mcp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants