Voyage AI MCP by usefulapi
v1.2.1Create text embeddings and rerank documents; read and cancel Batch API jobs in Voyage AI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
voyage_create_embeddings Create text embeddings
Turn one text or a list of up to 128 texts into embedding vectors with a Voyage text model (for example voyage-4, voyage-4-large, voyage-4-lite, voyage-3.5). Use input_type 'query' or 'document' for search. Billed by tokens. Voyage API: POST /embeddings.
| Parameter | Type | Description |
|---|---|---|
input * | A text, or a list of up to 128 texts. | |
model * | string | Model name, for example voyage-4 or voyage-3.5. |
input_type | string | Set 'query' for search queries, 'document' for indexed documents. |
output_dimension | integer | Embedding size. Only some models accept other sizes (voyage-3-large and voyage-code-3: 256, 512, 1024, 2048). |
truncation | boolean | Cut texts that are too long for the model context (default true). false makes an over-long text an error. |
voyage_rerank Rerank documents
Score a list of up to 1000 documents against a query with a Voyage reranker (rerank-2 or rerank-2-lite) and return them ordered by relevance. Billed by tokens. Voyage API: POST /rerank.
| Parameter | Type | Description |
|---|---|---|
documents * | array | The documents to rank (up to 1000). |
model * | string | Reranker model, for example rerank-2 or rerank-2-lite. |
query * | string | The query text. |
return_documents | boolean | Include the document text in each result (default false: index and score only). |
top_k | integer | Return only the top K results. Default: all documents. |
truncation | boolean | Cut query and documents that are too long for the reranker (default true). |
voyage_list_files List files
List files uploaded to the organization for the Batch API, newest first by default. Optional purpose filter and cursor pagination. Voyage API: GET /files.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor: the id of the last object on the previous page. |
limit | integer | Maximum number of objects to return (1-10000). |
order | string | Sort by created_at (default desc). |
purpose | string | Only files with this purpose. |
voyage_get_file Get a file
Get metadata for one uploaded file by id (size, purpose, status). Voyage API: GET /files/{file_id}.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The file id. |
voyage_list_batches List batches
List Batch API jobs for the organization, with their status and request counts. Voyage API: GET /batches.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor: the id of the last object on the previous page. |
limit | integer | Maximum number of objects to return (1-10000). |
voyage_get_batch Get a batch
Get one Batch API job by id: status (validating, in_progress, completed, failed, cancelling, cancelled), request counts and output file ids. Voyage API: GET /batches/{batch_id}.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The batch id. |
voyage_cancel_batch Cancel a batch
Cancel a Batch API job that is validating or in progress. The job moves to cancelling for up to 10 minutes, then cancelled. Other states cannot be cancelled. Voyage API: POST /batches/{batch_id}/cancel.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The batch id. |