jordy-exa-mcp-server 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +272 -0
  3. package/dist/index.js +63 -0
  4. package/package.json +54 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Exa Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,272 @@
1
+ This is a fork of https://github.com/exa-labs/exa-mcp-server.
2
+
3
+ # Exa MCP Server 🔍
4
+ [![Install in Cursor](https://img.shields.io/badge/Install_in-Cursor-000000?style=flat-square&logoColor=white)](https://cursor.com/en/install-mcp?name=exa&config=eyJuYW1lIjoiZXhhIiwidHlwZSI6Imh0dHAiLCJ1cmwiOiJodHRwczovL21jcC5leGEuYWkvbWNwIn0=)
5
+ [![Install in VS Code](https://img.shields.io/badge/Install_in-VS_Code-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=exa&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.exa.ai%2Fmcp%22%7D)
6
+ [![npm version](https://badge.fury.io/js/jordy-exa-mcp-server.svg)](https://www.npmjs.com/package/jordy-exa-mcp-server)
7
+
8
+ ## Exa Code: fast, efficient web context for coding agents
9
+
10
+ Vibe coding should never have a bad vibe. `exa-code` is a huge step towards coding agents that never hallucinate.
11
+
12
+ When your coding agent makes a search query, `exa-code` searches over billions
13
+ of Github repos, docs pages, Stackoverflow posts, and more, to find the perfect, token-efficient context that the agent needs to code correctly. It's powered by the Exa search engine.
14
+
15
+ Examples of queries you can make with `exa-code`:
16
+ * use Exa search in python and make sure content is always livecrawled
17
+ * use correct syntax for vercel ai sdk to call gpt-5 nano asking it how are you
18
+ * how to set up a reproducible Nix Rust development environment
19
+
20
+ **✨ Works with Cursor and Claude Code!** Use the HTTP-based configuration format:
21
+
22
+ ```json
23
+ {
24
+ "mcpServers": {
25
+ "exa": {
26
+ "type": "http",
27
+ "url": "https://mcp.exa.ai/mcp",
28
+ "headers": {}
29
+ }
30
+ }
31
+ }
32
+ ```
33
+
34
+ You can enable specific tool(s) using the `tools` parameter (if multiple, then with a comma-separated list):
35
+ ```
36
+ https://mcp.exa.ai/mcp?tools=web_search_exa,get_code_context_exa
37
+ ```
38
+
39
+ Or enable all tools:
40
+ ```
41
+ https://mcp.exa.ai/mcp?tools=web_search_exa,deep_search_exa,get_code_context_exa,crawling_exa,company_research_exa,linkedin_search_exa,deep_researcher_start,deep_researcher_check
42
+ ```
43
+
44
+ You may include your exa api key in the url like this:
45
+ ```
46
+ https://mcp.exa.ai/mcp?exaApiKey=YOUREXAKEY
47
+ ```
48
+
49
+ **Note:** By default, only `web_search_exa` and `get_code_context_exa` are enabled. Add other tools as needed using the `tools` parameter.
50
+
51
+ ---
52
+
53
+ A Model Context Protocol (MCP) server that connects AI assistants like Claude to Exa AI's search capabilities, including web search, research tools, and our new code search feature.
54
+
55
+ ## Remote Exa MCP 🌐
56
+
57
+ Connect directly to Exa's hosted MCP server (instead of running it locally).
58
+
59
+ ### Remote Exa MCP URL
60
+
61
+ ```
62
+ https://mcp.exa.ai/mcp
63
+ ```
64
+
65
+ ### Claude Desktop Configuration for Remote MCP
66
+
67
+ Add this to your Claude Desktop configuration file:
68
+
69
+ ```json
70
+ {
71
+ "mcpServers": {
72
+ "exa": {
73
+ "command": "npx",
74
+ "args": [
75
+ "-y",
76
+ "mcp-remote",
77
+ "https://mcp.exa.ai/mcp"
78
+ ]
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ ### Cursor and Claude Code Configuration for Remote MCP
85
+
86
+ For Cursor and Claude Code, use this HTTP-based configuration format:
87
+
88
+ ```json
89
+ {
90
+ "mcpServers": {
91
+ "exa": {
92
+ "type": "http",
93
+ "url": "https://mcp.exa.ai/mcp",
94
+ "headers": {}
95
+ }
96
+ }
97
+ }
98
+ ```
99
+
100
+ ### Codex Configuration for Remote MCP
101
+
102
+ Open your Codex configuration file:
103
+
104
+ ```bash
105
+ code ~/.codex/config.toml
106
+ ```
107
+
108
+ Add this configuration:
109
+
110
+ ```toml
111
+ [mcp_servers.exa]
112
+ command = "npx"
113
+ args = ["-y", "mcp-remote", "https://mcp.exa.ai/mcp"]
114
+ env = { EXA_API_KEY = "your-api-key-here" }
115
+ ```
116
+
117
+ Replace `your-api-key-here` with your actual Exa API key from [dashboard.exa.ai/api-keys](https://dashboard.exa.ai/api-keys).
118
+
119
+ ### Claude Code Plugin
120
+
121
+ The easiest way to get started with Exa in Claude Code, using plugins:
122
+
123
+ ```bash
124
+ # Add the Exa marketplace
125
+ /plugin marketplace add exa-labs/exa-mcp-server
126
+
127
+ # Install the plugin
128
+ /plugin install exa-mcp-server
129
+ ```
130
+
131
+ Then set your API key:
132
+ ```bash
133
+ export EXA_API_KEY="your-api-key-here"
134
+ ```
135
+
136
+ Get your API key from [dashboard.exa.ai/api-keys](https://dashboard.exa.ai/api-keys).
137
+
138
+ ### NPM Installation
139
+
140
+ ```bash
141
+ npm install -g jordy-exa-mcp-server
142
+ ```
143
+
144
+ ### Using Claude Code
145
+
146
+ ```bash
147
+ claude mcp add exa -e EXA_API_KEY=YOUR_API_KEY -- npx -y jordy-exa-mcp-server
148
+ ```
149
+
150
+ ## Configuration ⚙️
151
+
152
+ ### 1. Configure Claude Desktop to recognize the Exa MCP server
153
+
154
+ You can find claude_desktop_config.json inside the settings of Claude Desktop app:
155
+
156
+ Open the Claude Desktop app and enable Developer Mode from the top-left menu bar.
157
+
158
+ Once enabled, open Settings (also from the top-left menu bar) and navigate to the Developer Option, where you'll find the Edit Config button. Clicking it will open the claude_desktop_config.json file, allowing you to make the necessary edits.
159
+
160
+ OR (if you want to open claude_desktop_config.json from terminal)
161
+
162
+ #### For macOS:
163
+
164
+ 1. Open your Claude Desktop configuration:
165
+
166
+ ```bash
167
+ code ~/Library/Application\ Support/Claude/claude_desktop_config.json
168
+ ```
169
+
170
+ #### For Windows:
171
+
172
+ 1. Open your Claude Desktop configuration:
173
+
174
+ ```powershell
175
+ code %APPDATA%\Claude\claude_desktop_config.json
176
+ ```
177
+
178
+ ### 2. Add the Exa server configuration:
179
+
180
+ ```json
181
+ {
182
+ "mcpServers": {
183
+ "exa": {
184
+ "command": "npx",
185
+ "args": ["-y", "jordy-exa-mcp-server"],
186
+ "env": {
187
+ "EXA_API_KEY": "your-api-key-here"
188
+ }
189
+ }
190
+ }
191
+ }
192
+ ```
193
+
194
+ Replace `your-api-key-here` with your actual Exa API key from [dashboard.exa.ai/api-keys](https://dashboard.exa.ai/api-keys).
195
+
196
+ ### 3. Available Tools & Tool Selection
197
+
198
+ The Exa MCP server includes powerful tools for developers and researchers:
199
+
200
+
201
+ #### 🌐 **Tools**
202
+ - **get_code_context_exa**: Search and get relevant code snippets, examples, and documentation from open source libraries, GitHub repositories, and programming frameworks. Perfect for finding up-to-date code documentation, implementation examples, API usage patterns, and best practices from real codebases.
203
+ - **web_search_exa**: Performs real-time web searches with optimized results and content extraction.
204
+ - **deep_search_exa**: Deep web search with smart query expansion and high-quality summaries for each result.
205
+ - **company_research**: Comprehensive company research tool that crawls company websites to gather detailed information about businesses.
206
+ - **crawling**: Extracts content from specific URLs, useful for reading articles, PDFs, or any web page when you have the exact URL.
207
+ - **linkedin_search**: Search LinkedIn for companies and people using Exa AI. Simply include company names, person names, or specific LinkedIn URLs in your query.
208
+ - **deep_researcher_start**: Start a smart AI researcher for complex questions. The AI will search the web, read many sources, and think deeply about your question to create a detailed research report.
209
+ - **deep_researcher_check**: Check if your research is ready and get the results. Use this after starting a research task to see if it's done and get your comprehensive report.
210
+
211
+ **Note:** By default, only `web_search_exa` and `get_code_context_exa` are enabled. You can enable additional tools using the `tools=` parameter (see examples below).
212
+
213
+ #### 💻 **Setup for Code Search Only** (Recommended for Developers)
214
+
215
+ ```json
216
+ {
217
+ "mcpServers": {
218
+ "exa": {
219
+ "command": "npx",
220
+ "args": [
221
+ "-y",
222
+ "jordy-exa-mcp-server",
223
+ "tools=get_code_context_exa"
224
+ ],
225
+ "env": {
226
+ "EXA_API_KEY": "your-api-key-here"
227
+ }
228
+ }
229
+ }
230
+ }
231
+ ```
232
+
233
+ #### Enable All Tools:
234
+
235
+ You can either enable all tools or any specfic tools. Use a comma-separated list to enable the tools you need:
236
+
237
+ ```json
238
+ {
239
+ "mcpServers": {
240
+ "exa": {
241
+ "command": "npx",
242
+ "args": [
243
+ "-y",
244
+ "jordy-exa-mcp-server",
245
+ "tools=get_code_context_exa,web_search_exa,deep_search_exa,company_research_exa,crawling_exa,linkedin_search_exa,deep_researcher_start,deep_researcher_check"
246
+ ],
247
+ "env": {
248
+ "EXA_API_KEY": "your-api-key-here"
249
+ }
250
+ }
251
+ }
252
+ }
253
+ ```
254
+
255
+ ## Using via NPX
256
+
257
+ If you prefer to run the server directly, you can use npx:
258
+
259
+ ```bash
260
+ # Run with default tools only (web_search_exa and get_code_context_exa)
261
+ npx jordy-exa-mcp-server
262
+
263
+ # Enable specific tools only
264
+ npx jordy-exa-mcp-server tools=web_search_exa
265
+
266
+ # All tools
267
+ npx jordy-exa-mcp-server tools=web_search_exa,deep_search_exa,get_code_context_exa,crawling_exa,company_research_exa,linkedin_search_exa,deep_researcher_start,deep_researcher_check
268
+ ```
269
+
270
+ ---
271
+
272
+ Built with ❤️ by team Exa