mcp-embed-ollama mcp
v1.0.0 · MCP Tool · ai · registry.pascalai.org
Generate text embeddings using locally running Ollama models (nomic-embed-text, mxbai-embed-large, etc.).
ollamaembeddingslocalvectorsnlp
Input Parameters
| Parameter | Type | Description |
| hostoptional |
string |
Default: http://localhost:11434. |
| modeloptional |
string |
Default: nomic-embed-text. |
| inputrequired |
string | array |
Text or list of texts to embed. |
| optionsoptional |
object |
|
Output Fields
| Field | Type | Description |
| embeddings |
array[array] |
|
| model |
string |
|
Examples
Embed text locally
// Input
{
"host": "http://localhost:11434",
"model": "nomic-embed-text",
"input": "Semantic search with local embeddings."
}
// Output
{
"embeddings": [
[
0.01,
0.02,
0.03
]
],
"model": "nomic-embed-text"
}
Install & Discovery
Install
ppm install mcp-embed-ollama
Get JSON Schema
GET /v1/packages/mcp-embed-ollama/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=ollama
Discovery hint: Install with ppm install mcp-embed-ollama or invoke remotely via POST /v1/invoke/mcp-embed-ollama on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-embed-ollama');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);