1. Conduid
  2. AI
  3. Llama3 Client
MCP server · AI

Llama3 Client

A client for the MCP Flight Search service using Ollama and Llama 3.2 to provide a user-friendly flight search interface with Model Context Protocol tools

55Fair

Scored 5 months ago · breakdown

About Llama3 Client

Llama3 Client is an MCP server published by arjunprabhulal in the AI category: a client for the MCP Flight Search service using Ollama and Llama 3.2 to provide a user-friendly flight search interface with Model Context Protocol tools.

The repository has 9 stars and 8 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/arjunprabhulal/mcp-llama3-client

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Llama3 Client

Powered by Claude · Grounded in docs

I know everything about Llama3 Client. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository just now. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP Llama3 Flight Search Client

MCP Flight Search Client Demo

A client for the MCP Flight Search service using Ollama and Llama 3.2 to provide a user-friendly flight search interface with Model Context Protocol tools.

Description

This client application provides a user-friendly interface to interact with the Model Context Protocol (MCP) flight search service. It allows users to search for flights between airports with specified dates.

About

A client for the MCP Flight Search service using Ollama and Llama 3.2 to provide a user-friendly flight search interface with Model Context Protocol tools

github.com/arjunprabhulal/mcp-llama3-client

Files

  • mcp_flight_client.py: Main client implementation for interacting with the MCP Flight Search service
  • prompt_templates.py: Contains prompt templates for generating flight search queries

Installation

Install the required packages for this client:

pip install -r requirements.txt

Required packages:

  • llama-index
  • llama-index-llms-ollama
  • llama-index-tools-mcp
  • langchain-community

Installing Ollama

This client uses Ollama to run Llama 3.2 locally. To install Ollama:

  1. Download Ollama from the official website
  2. Install and start the Ollama application
  3. Pull the Llama 3.2 model:
ollama pull llama3.2

Prerequisites

You need to have the MCP Flight Search service running.

Installing the MCP Flight Search Package

# Install from PyPI
pip install mcp-flight-search

Starting the MCP Server

You can start the MCP server using one of the following methods:

Starting the MCP Server

# Using the command-line entry point
mcp-flight-search --connection_type http

# Or using the Python module approach
python -m mcp_flight_search.server --connection_type http

Usage

python mcp_flight_client.py

Architecture

+------------------------------+      HTTP      +------------------------------+
|                              | <------------> |                              |
|  MCP Llama3 Flight Search    |                |  MCP Flight Search Server    |
|  Client (This Repository)    |                |  (Backend Service)           |
|                              |                |                              |
|  - mcp_flight_client.py      |                |  - search_flights_tool       |
|  - prompt_templates.py       |                |  - server_status             |
|                              |                |                              |
|  Uses:                       |                |  Uses:                       |
|  - llama-index               |                |  - Model Context Protocol    |
|  - llama-index-llms-ollama   |                |  - SerpAPI for Google        |
|    (with Llama 3.2)          |                |    Flights data              |
|  - llama-index-tools-mcp     |                |                              |
|  - langchain-community       |                |                              |
+------------------------------+                +------------------------------+
              |                                               |
              |                                               |
              v                                               v
+------------------------------+                +------------------------------+
|                              |                |                              |
|  Ollama (Local LLM)          |                |  Flight Search               |
|  Running Llama 3.2           |                |  APIs                        |
|                              |                |                              |
+------------------------------+                +------------------------------+
              |
              |
              v
+------------------------------+
|                              |
|  User Interface              |
|                              |
+------------------------------+

This architecture shows how the MCP Llama3 Flight Search Client connects to the MCP Flight Search Server over HTTP. The client uses various libraries to interact with the server, which in turn uses the Model Context Protocol (MCP) to provide flight search functionality through tools like search_flights_tool.

The client leverages Ollama to run Llama 3.2 locally, providing powerful language model capabilities while maintaining privacy and reducing dependency on cloud services.

Author

For more articles on AI/ML and Generative AI, follow me on Medium: https://medium.com/@arjun-prabhulal

License

This project is licensed under the MIT License

README fetched from the repository just now. The original is authoritative.

Questions

About Llama3 Client

How do I install Llama3 Client?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Llama3 Client safe to use with an AI agent?

Its trust score is 55 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Llama3 Client still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.