Skip to main content

langchain-neuronto

LangChain integration for Neuronto, an Agentic Resource Discovery (ARD) registry. Describe the capability you need in plain language and get back matching tools, APIs and MCP servers.

It provides:

  • NeurontoSearchTool: a LangChain tool an agent can call.
  • NeurontoRetriever: a retriever returning Documents for use in chains.

Install

pip install langchain-neuronto

Searching works without credentials. If you have an API key, set NEURONTO_API_KEY (sent as a bearer token) or pass api_key=....

Tool in an agent

from langchain.agents import create_agent
from langchain_neuronto import NeurontoSearchTool

agent = create_agent("openai:gpt-4o-mini", tools=[NeurontoSearchTool(limit=5)])
result = agent.invoke({"messages": [("user", "Find an MCP server that can charge a credit card")]})

Retriever in a chain

from langchain_neuronto import NeurontoRetriever

retriever = NeurontoRetriever(k=3)
for doc in retriever.invoke("charge a credit card"):
    print(doc.metadata["name"], doc.metadata["url"], doc.metadata.get("mcp"))

Each document has the entry description as page_content and name, url, type, identifier, score and (for MCP servers) mcp in its metadata.

Filtering by type

from langchain_neuronto import NeurontoSearchTool, NeurontoRetriever

tool = NeurontoSearchTool()
print(tool.invoke({"query": "weather forecast", "type": "application/mcp-server-card+json"}))

mcp_only = NeurontoRetriever(k=5, type="application/mcp-server-card+json")

Options

Option Default Meaning
limit / k 5 Number of results
federation auto none answers from the Neuronto index only
base_url https://neuronto.com API base
api_key NEURONTO_API_KEY Optional bearer token

API reference: https://neuronto.com/api-docs

License

Apache-2.0

Metadata

Release files for langchain-neuronto 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-neuronto 0.1.0
File Size Uploaded
langchain_neuronto-0.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-neuronto 0.1.0
File Interpreter ABI Platform
langchain_neuronto-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / langchain_neuronto-0.1.0.tar.gz

Download URL langchain_neuronto-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
430f00106a98ecb803e54d617f2144932b779477b86bb5662558b98bf2eb73e3
BLAKE2b-256 checksum
How to use checksums
b35b89d1c5c938f7b6644e397ebda48096f6bc2eb40df9298c17ff63c01e0ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / langchain_neuronto-0.1.0-py3-none-any.whl

Download URL langchain_neuronto-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7afb32658ec601770c4657ac6b2d2aa5d5cb6f332515a1f6fc4cf7c62b1d0ed9
BLAKE2b-256 checksum
How to use checksums
fd810cc0515dcb4ce9b4cb686c53f16824aed67a2a315cce9470c4520912fcda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page