spennant
spennant on Hacker News
Nice work! This is very interesting (as a heavy Dagster and DuckDB user myself)
The idea of "model controlled", "application controlled" and "user controlled" for tool, resources and prompts (respectively) was aligned with the chat interface. It breaks for the autonomous agent paradigm where the agency is the user and the lines are blurred. Unfortunately MCP has been mostly relegated to tool calling leaving potentially powerful capabilities on the table due to lac of client support for them.
"In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English."
Luggage Packing Optimizer? The nerdiness level is awesome and I'm here for all of it!
This is my experience as well. It gets worse when the LLMs have strong priors in subject matter adjacent to your novel work. The generated output will incorrectly pull towards things the LLM has seen in it’s training data.
I'm working on leveraging NLP and LLM techniques to create a geometry over the discrete space of Ethereum transaction execution structure. (sorry... it's a bit of a mouthful)
https://www.chaingenius.ai
The goal is to find on-chain structural anomalies, as well as seeing if clustering by behavior has emergent semantic properties
Posted by
spennant on Tuesday June 30, 2026 @08:25PM
from the show-hn dept.
https://www.chaingenius.ai
I built a block explorer that allows visitors to browse the Ethereum blockchain by the shape of each transaction’s calls tree and address interaction graph. The call tree visualization is clickable ui which reveals sub-transaction as well as every other transaction that contains them. Currently the corpus only has about 1 Billion transactions (Blocks: 20800000 – 25399999) but I plan to automate...
Odd seeing this right now for me. I recently implemented a 6NF schema for parsed XBRL files from EDGAR. The architecture was the right call... too bad the data is not useful for analytics.
What? No love for Perl scripts in cgi-bin/ ?
I moved from pip to poetry a while back, but was introduced to uv recently while working on MCP stuff. I now use uv for everything and haven’t looked back.
Just a fancy way of saying that multiple agents (with their own LLMs) can concurrently connect, also that pg-mcp can simultaneously connect to multiple Postgres servers as well.
The use case for pg-mcp is server deployment - local running is just for dev purposes. HTTP/SSE enables multiple concurrent connections and network access, which stdio can't provide.
Xata.io looks very interesting!!! I was thinking about building an intelligent agent for pg-mcp as my net project but it looks like you did a lot of the hard work already. When thinking about the "AI Stack" I usually separate concerns like this:
UI <--> Agent(s) <--> MCP Server(s) <--> Tools/Resources
|
LLM(s)
Indeed. Anything you do with MCP can be done in more traditional ways.
I built this to fill a specific need. It's not really made to talk to Claude Desktop (although it can). It's built to take multiple connections from agents who bring their own LLM (via API key or whatever) and provide context to the LLM model. Yes, it does import the standard Python MCP package, however it does quite a few non-standard things in order to achieve the multi-tenancy. I encourage you to look at the code.
I made a few assumptions about the actual deployer and their environment that I shouldn’t have… I’ll need to address this. Thanks!
The pg-mcp server doesn’t need an API key. Those variables are only needed to run the example claude-client. You can write your own agent to talk to whatever LLM you like.
It won’t be that easy. First off, most databases in the wild are not well documented. LLMs benefit from context, and if your tables/columns have non-intuitive or non-descriptive names, the SQL may not even work. Second, you might benefit from an LLM fine-tuned on writing code and/or an intelligent Agent that checks for relevancy and ambiguity in user input prior to attempting to answer the question. It would also help if the agent executed the query to see how it answered the user’s question. In other words “reasoning”… pg-mcp simply exposes the required context for Agents to do that kind of reasoning.
Posted by
spennant on Saturday March 29, 2025 @11:14PM
from the show-hn dept.
https://github.com/stuzero/pg-mcp
Hey HN,I built pg-mcp, a Model Context Protocol (MCP) server for PostgreSQL that provides structured schema inspection and query execution for LLMs and agents. It's multi-tenant and runs over HTTP/SSE (not stdio)Features
- Supports multiple database connections from multiple agents- Schema Introspection: Returns table structures, types, indexes and constraints; enriched with descriptions from...
Personal story: I sat in his office as an undergrad and he presented a problem to me concerning counting balls in boxes that had applications to quantum theory. It blew my freshman mind.
Sure. But two things:
1) At the time, the European data laws implied that it protected its citizens no matter where they are. Nobody wanted to be the first to test that in court.
2) The organizations and agencies performing this type of data modeling were often doing so on behalf of large multinational organizations with absurd advertising spends, so they were dealing with Other People’s Data. The responsibility of scrubbing it clean of EU citizen data was unclear.
What this meant was that an EU tourist who traveled to the US, and got served a targeted ad, could make a RTBF request to the advertiser (think Coca-Cola, Nestle or Unilever)
The whole thing was a mess.
Agreed. The media and advertising industry was most definitely leveraging cookie-level data for building attribution and targeting models. As soon as the EU established that this data was “personal data”, as it could, theoretically, be tied back to individual citizens, there were questions about the models. Namely “Would they have to be rebuilt after every RTBF request?” Needless to say, no one in the industry really wanted to address the question, as the wrong answer would essentially shut down a very profitable practice.
In other words... being Iceman is better than being Maverick.
In October, NASA plans to launch the Europa Clipper on a mission to study Jupiter’s fourth-largest moon, one of the most promising places to search for extraterrestrial life in the solar system
Posted by
spennant on Wednesday February 21, 2024 @05:56AM
from the technologyreview.com dept.